Files
CompanyProject/衣莎项目/源码/gc_nwjs/vue.config.js
2024-09-27 01:32:49 +08:00

17 lines
495 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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转为/
// }
// }
// }
// }
}