0.1.0 • Published 3 years ago
webpack-dynamic-theme-plugin v0.1.0
webpack-dynamic-theme-plugin
动态生成主题插件
特性
1、用法简单,配置便捷
Step 1
安装工具
# Yarn
yarn add webpack-dynamic-theme-plugin --dev
# Npm
npm install webpack-dynamic-theme-plugin --save-dev
Step 2
const WebpackDynamicThemePlugin = require('webpack-dynamic-theme-plugin')
// vue cli中使用
module.exports = {
configureWebpack: {
plugins: [
new WebpackDynamicThemePlugin({
theme: '#409eff',
})
]
},
...
}
欢迎使用,并给我一些反馈和建议,让这个插件做的更好
0.1.0
3 years ago