1
0
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:
shangbin
2021-10-22 20:19:12 +08:00
parent 178900c662
commit bc30b01c5e
8 changed files with 188 additions and 63 deletions

View File

@@ -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");
},