提交 56aafef5 编写于 作者: ylwdev's avatar ylwdev 💻

云IDE 暂时注释

上级 ea5210da
const { defineConfig } = require('@vue/cli-service')
const path = require('path');
function resolve(dir){
return path.join(__dirname,dir)//设置绝对路径
return path.join(__dirname,dir)//设置绝对路径
}
let publicPath = '/'
if (process.env.NODE_ENV === 'production') {
publicPath = 'https://csdn.gitcode.host/csdn-datav/'
}
}
module.exports = defineConfig({
assetsDir: 'csdn-datav',
transpileDependencies: true,
......@@ -19,6 +19,13 @@ module.exports = defineConfig({
'Access-Control-Allow-Origin': '*'
}
},
// devServer: {
// allowedHosts:'all',
// port: '3000',
// headers: {
// 'Access-Control-Allow-Origin': '*'
// }
// },
productionSourceMap: false,
chainWebpack: config => {
config.resolve.alias.set('@', resolve('src'))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册