flask做的网站,手机百度极速版,深圳小程序外包公司,网站百度无排名第一步#xff1a;安装path#xff0c;如果node_module文件夹中有path就不用安装了 安装命令#xff1a;npm install path --save 第二步#xff1a;在vue.config.js文件#xff08;如果没有就新建#xff09;中配置
const path require(path);
function …第一步安装path如果node_module文件夹中有path就不用安装了 安装命令npm install path --save 第二步在vue.config.js文件如果没有就新建中配置
const path require(path);
function resolve(dir) {return path.join(__dirname, dir);
}
module.exports {chainWebpack: config {config.resolve.alias.set(, resolve(src)).set(assets, resolve(src/assets)).set(components, resolve(src/components)).set(public, resolve(public));},
}第三步使用