cml-vue-loader

1.0.8 • Public • Published
  • 基于vue-loader@14.2.3改造
  • css的插入顺序有bug,不采用cml-extract-css-webpack-plugin是
  • injectStyle方法在Vue实例的beforeCreated阶段插入导致父组件先插入
  • 再插入子组件,所有css也是子组件在后,子组件的优先级高
  • 解决办法是在执行模块时就执行injectStyle,模块依赖的组件都是import,import优先执行,就会比本组件的injectStyle之前先执行

Readme

Keywords

Package Sidebar

Install

npm i cml-vue-loader

Weekly Downloads

4

Version

1.0.8

License

Apache

Unpacked Size

47.6 kB

Total Files

21

Last publish

Collaborators

  • cml-tool