mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-12-16 07:24:15 +08:00
支持部分组件懒加载,但未完成支持
This commit is contained in:
@@ -3,18 +3,6 @@ const path = require("path");
|
||||
module.exports = {
|
||||
css: { extract: false },
|
||||
chainWebpack: (config) => {
|
||||
const vueRule = config.module.rule("vue");
|
||||
|
||||
vueRule
|
||||
.use("iview-loader")
|
||||
.loader("iview-loader")
|
||||
.tap((options) => {
|
||||
// 修改它的选项...
|
||||
return {
|
||||
prefix: false,
|
||||
};
|
||||
});
|
||||
|
||||
config.resolve.alias.set("vue$", "vue/dist/vue.esm.js");
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user