project init

This commit is contained in:
zxy
2024-02-02 10:24:54 +08:00
commit 21a84c3035
253 changed files with 25212 additions and 0 deletions

33
vue.config.js Normal file
View File

@@ -0,0 +1,33 @@
// module.exports = {
// devServer: {
// port: 8080,
// proxy: {
// '/api': {
// //本地服务接口地址
// target: 'http://m.jl.com',
// ws: true
// },
// '/blackboard': {
// //本地服务接口地址
// target: 'http://m.jl.com',
// ws: true
// },
// }
// }
// };
module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
//本地服务接口地址
target: 'http://localhost:8000',
ws: true,
pathRewrite: {
'^/api': '/'
}
}
}
}
};