vue.config文件
const path = require('path');
function resolve (dir) {
return path.join(__dirname, dir)
}
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave:false,
configureWebpack: {
resolve: {
alias: {
'src': resolve('@')
}
}
}
});
网友评论