20230518
This commit is contained in:
19
vue.config.js
Normal file
19
vue.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
baseUrl: './',
|
||||
assetsDir: 'static',
|
||||
productionSourceMap: false,
|
||||
devServer: {
|
||||
public: 'http://192.168.110.156:8081/' // 你自己本地的ip地址:端口号
|
||||
}
|
||||
// devServer: {
|
||||
// proxy: {
|
||||
// '/api':{
|
||||
// target:'http://jsonplaceholder.typicode.com',
|
||||
// changeOrigin:true,
|
||||
// pathRewrite:{
|
||||
// '/api':''
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user