1 Star 1 Fork 0

rainbow / vue3-demo2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 641 Bytes
一键复制 编辑 原始数据 按行查看 历史
rainbow 提交于 2021-10-01 14:32 . add mobile city-picker
module.exports = {
pages: {//配置多页面入口
m: {
entry: 'src/m.main.ts',
template: 'public/m.html',
},
index: {
entry: 'src/main.ts',
template: 'public/index.html',
},
},
devServer: {
// open: true, //自动打开浏览器
// open: process.env == 'develop',
// host: 'localhost',
// port: '8080',
// https: false,
// hotonly: false,
proxy: {
'/api': {
target: 'http://ebuy.my/admin.php',
ws:true,
secure: false,
changeOrigin: true, //是否跨域
pathRewrite: {
'^/api': ''
}
}
}
}
}
1
https://gitee.com/wujizhou/tp51-vue3.git
git@gitee.com:wujizhou/tp51-vue3.git
wujizhou
tp51-vue3
vue3-demo2
master

搜索帮助