mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-12-15 15:04:25 +08:00
init
This commit is contained in:
33
vue.config.js
Normal file
33
vue.config.js
Normal 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'
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user