first commit
This commit is contained in:
17
衣莎项目/源码/gc_nwjs/vue.config.js
Normal file
17
衣莎项目/源码/gc_nwjs/vue.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
//...
|
||||
publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
|
||||
//...
|
||||
// devServer: {
|
||||
// proxy: {
|
||||
// '/api': {
|
||||
// target: 'https://ceshi.yishaxiyi.com/factoryapi',
|
||||
// ws: true,
|
||||
// changeOrigin: true,
|
||||
// pathRewrite: {
|
||||
// '^/api': '' //通过pathRewrite重写地址,将前缀/api转为/
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user