添加路径别名
修改 /build/webpack.base.conf.js
let webpackConfig = {
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
'别名': "路径"
}
}
}
修改 /build/webpack.base.conf.js
let webpackConfig = {
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
'别名': "路径"
}
}
}