Init project
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
/*=========================================================================================
|
||||
File Name: vue.config.js
|
||||
Description: configuration file of vue
|
||||
----------------------------------------------------------------------------------------
|
||||
Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
|
||||
Author: Pixinvent
|
||||
Author URL: http://www.themeforest.net/user/pixinvent
|
||||
==========================================================================================*/
|
||||
|
||||
|
||||
module.exports = {
|
||||
publicPath: 'customer/',
|
||||
outputDir: 'dist/export',
|
||||
transpileDependencies: [
|
||||
'vue-echarts',
|
||||
'resize-detector'
|
||||
],
|
||||
configureWebpack: {
|
||||
module: {
|
||||
rules: [
|
||||
|
||||
{
|
||||
test: /\.less$/,
|
||||
loader: 'less-loader',
|
||||
options: {
|
||||
lessOptions: { // If you are using less-loader@5 please spread the lessOptions to options directly
|
||||
modifyVars: {
|
||||
'primary-color': '#1DA57A',
|
||||
'link-color': '#1DA57A',
|
||||
'border-radius-base': '6px',
|
||||
},
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
chunks: 'all'
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
// devServer: {
|
||||
// overlay: {
|
||||
// warnings: true,
|
||||
// errors: true
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user