Files
big-screen-vue-datav/vue.config.js
2024-06-18 11:43:25 +08:00

12 lines
333 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const path = require('path')
const resolve = dir => {
return path.join(__dirname, dir)
}
module.exports = {
publicPath: './',
transpileDependencies: [],
chainWebpack: config => {
config.resolve.alias
.set('_c', resolve('src/components')) // key,value自行定义比如.set('@@', resolve('src/components'))
},
}