Vue.config.js大力子改写,如何构建长尾词?
- 内容介绍
- 文章标签
- 相关推荐
本文共计128个文字,预计阅读时间需要1分钟。
javascriptmodule.exports={ lintOnSave: false, publicPath: './', outputDir: 'baituan-mobile', // 运行时生成的生产环境构建文件的目录 // 构建之前会自动清空该目录下的文件 devServer: { proxy: { '/talents': { target: 'https://api.' } } }};
module.exports = {
lintOnSave: false,
publicPath: "./",
outputDir: 'baituan-mobile', // 运行时生成的生产环境构建文件的目录(默认''dist'',构建之前会被清除)
devServer: {
proxy: {
'/talents': {
target: 'api.mingyoutang.cn/backend/hrs',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/talents': '/talents'
}
}
}
}
}
本文共计128个文字,预计阅读时间需要1分钟。
javascriptmodule.exports={ lintOnSave: false, publicPath: './', outputDir: 'baituan-mobile', // 运行时生成的生产环境构建文件的目录 // 构建之前会自动清空该目录下的文件 devServer: { proxy: { '/talents': { target: 'https://api.' } } }};
module.exports = {
lintOnSave: false,
publicPath: "./",
outputDir: 'baituan-mobile', // 运行时生成的生产环境构建文件的目录(默认''dist'',构建之前会被清除)
devServer: {
proxy: {
'/talents': {
target: 'api.mingyoutang.cn/backend/hrs',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/talents': '/talents'
}
}
}
}
}

