2024-04-10 09:11:57 +08:00
|
|
|
const { defineConfig } = require('@vue/cli-service')
|
2024-04-16 17:29:27 +08:00
|
|
|
const path = require('path')
|
|
|
|
function resolve(dir){
|
|
|
|
return path.join(__dirname,dir)
|
|
|
|
}
|
2024-04-10 09:11:57 +08:00
|
|
|
module.exports = defineConfig({
|
2024-04-11 17:23:39 +08:00
|
|
|
transpileDependencies: true,
|
2024-04-16 17:29:27 +08:00
|
|
|
lintOnSave:false,
|
|
|
|
chainWebpack:(config)=>{
|
|
|
|
config.resolve.alias
|
|
|
|
.set("@",resolve('src'))
|
|
|
|
}
|
2024-04-10 09:11:57 +08:00
|
|
|
})
|