![]() ![]() Replace _theme_COLOR_cfg to a random variable name, remove _theme_COLOR_css variable, to resolve name collision problems:.GetElementUISeries returns all 1-9 darken colors. ![]() HotModuleReplacement performance improved.Īdd themeUtil tool which can make color series both at.Support running without webpack, just with nodejs, such as like gulp.to, not to any more, in order to resolve most priority problems in lazy loading pages. Thanks! update log (fixed bugs not listed) 1.3.2 If you have issues with this plugin, please run your command with -theme_debug option, such as npm run dev -theme_debug, then upload the outputed _tmp_xxx files while reporting issues. While router is not hash mode, it needs to change url to an absolute path(start with /). Change the theme-color-css download url if you need. * changeUrl: Function(cssUrl: string): string Using appendToEl: 'body' can make the priority of theme-color-css higher than any other css in element. The element selector for this plugin to appending with child node. New colors array for changing, one-to-one corresponde with matchColors. These options are used for (options), which imports client/index.js. Use a RegExp to check which files to be injected to. Injecting config-code into html files instead of injecting into entry js files. Default is an random name which start with 'tc_cfg_'. to set custom var name, instead of theme_COLOR_cfg or tc_cfg_xxxxxx. Inject css text into js file, no need to download theme-colors-xxx.css any more. Changing css selectors, in order to raise css priority, to resolve lazy-loading problems. Const ThemeColorReplacer = require ( 'webpack-theme-color-replacer' ) module. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |