You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
499 B
18 lines
499 B
// vue.config.js
|
|
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
configureWebpack: {
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'__VUE_I18N_FULL_INSTALL__': JSON.stringify(true),
|
|
'__VUE_I18N_LEGACY_API__': JSON.stringify(false),
|
|
'__INTLIFY_PROD_DEVTOOLS__': JSON.stringify(false)
|
|
})
|
|
]
|
|
},
|
|
// 如果需要自定义其他 webpack 配置,可以在这里添加
|
|
chainWebpack: (config) => {
|
|
// 例如,你可以在这里添加其他配置
|
|
}
|
|
}
|