1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-12-15 15:04:25 +08:00
This commit is contained in:
shangbin
2021-04-09 20:06:44 +08:00
commit e87ebafdcb
97 changed files with 33753 additions and 0 deletions

33
vue.config.js Normal file
View File

@@ -0,0 +1,33 @@
const path = require("path");
module.exports = {
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")
},
publicPath: process.env.PUBLIC_PATH,
productionSourceMap: false,
pluginOptions: {
quasar: {
importStrategy: 'kebab',
rtlSupport: false
}
},
transpileDependencies: [
'quasar'
],
};