1 Star 0 Fork 0

飞扬的枫/vue-template-elementui

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
settings.js 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
LAPTOP-R8EIHNHP\admin 提交于 2022-04-28 14:44 +08:00 . aaaa
const sidebarLogoIco = '@/assets/public/htmltitleico.png'
module.exports = {
title: "后台模板平台 ",
/**
* 系统启动时使用的端口号 默认值:9528
*/
port: 3066,
/**
* 项目使用的后台接口的代理 默认值:mock数据
*/
devServer: {
port: 3066,
open: true, //配置自动启动浏览器
proxy: {
"/api": {
target: "http://localhost:8080/", //后端ip地址及端口
ws: true, //是否跨域
changeOrigin: true,
logLevel: "debug",
pathRewrite: {
"^/api": "",
},
},
"/sk": {
target: "http://172.16.9.27:8080/", //后端ip地址及端口
ws: true, //是否跨域
logLevel: "debug",
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: {
"^/sk": "",
},
},
},
},
/**
* @type {boolean} true | false
* @description Whether fix the header
*/
fixedHeader: true,
/**
* @type {boolean} true | false
* @description 设置系统左上角的log是否显示
*/
sidebarLogo: true,
/**
* 设置系统左上角的log
*/
sidebarLogoUrl: sidebarLogoIco,
/**
* 设置系统左上角的显示文本
*/
sidebarLogoLable: "后台模板平台 ",
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/feiyangdefeng_yyx/vue-template-elementui.git
git@gitee.com:feiyangdefeng_yyx/vue-template-elementui.git
feiyangdefeng_yyx
vue-template-elementui
vue-template-elementui
master

搜索帮助