webpack-dynamic-theme-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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',
      })
    ]
  },
  ...
}

欢迎使用,并给我一些反馈和建议,让这个插件做的更好

Package Sidebar

Install

npm i webpack-dynamic-theme-plugin

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

10.7 kB

Total Files

13

Last publish

Collaborators

  • shenqingzhu