This commit is contained in:
张亚强
2020-06-25 12:12:31 +08:00
parent 67402224f2
commit b1d67811bd
14 changed files with 594 additions and 76 deletions

23
vue.config.js Normal file
View File

@@ -0,0 +1,23 @@
module.exports = {
productionSourceMap: false,
pages: {
index: {
entry: 'examples/main.js',
template: 'public/index.html',
filename: 'index.html'
}
},
// chainWebpack: config => {
// config.module.rule('js').include.add('/packages').end().use('babel').loader('babel-loader')
// },
css: {
loaderOptions: {
less: {
lessOptions: {
// important extra layer for less-loader^6.0.0
javascriptEnabled: true
}
}
}
}
}