提交基础页面

This commit is contained in:
zhoulingpo
2023-04-17 10:31:08 +08:00
parent 4ed0752b86
commit 61e01291fd
12 changed files with 2838 additions and 630 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
const webpack = require('webpack')
module.exports = {
lintOnSave: false,
// publicPath: '/mi',
outputDir: 'dist', // 运行时生成的生产环境构建文件的目录(默认''dist'',构建之前会被清除)
assetsDir: 'static', // 放置生成的静态资源(s、css、img、fonts)的(相对于 outputDir 的)目录(默认'')
@@ -12,12 +13,12 @@ module.exports = {
proxy: {
// 配置跨域
'/api': {
target: 'http://10.94.1.164:7060', // 服务器
target: 'http://localhost:7060', // 服务器
changeOrigin: true
},
// 请求静态图片配置项
'/api/home/pic': {
target: 'http://10.94.1.164:7061', // 图片请求的nginx网址
target: 'http://localhost:7061', // 图片请求的nginx网址
changeOrigin: true
}