使用方法

 

 

 

 

 

 plugins:[
    [
      'component',{
        'libraryName':"mint-ui", // 针对 mint-ui 库实现按需引入打包
        'styley':true // 自动打包对应的css
      }
    ]
  ]
 
 

 

 

 

 yarn add babel-plugin-component -D

 

 

 

 

posted @ 2020-06-26 11:59  EricBlog  阅读(1935)  评论(0编辑  收藏  举报