54 lines
1.3 KiB
JavaScript
54 lines
1.3 KiB
JavaScript
/*=========================================================================================
|
|
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: '/',
|
|
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
|
|
// }
|
|
// }
|
|
}
|
|
|
|
|