1 Star 0 Fork 76

无为无畏/heyui-admin

forked from heyui/heyui-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hey.conf.js 958 Bytes
一键复制 编辑 原始数据 按行查看 历史
vvpvvp 提交于 2019-05-21 10:27 . fix: use new hey.conf
const path = require('path');
module.exports = {
port: 9012,
root: 'dist',
webpack: {
console: true,
publicPath: '/',
output: {
'./index.html': {
entry: './src/app'
}
},
alias: {
model: './src/js/model/',
js: './src/js/',
components: './src/components/'
},
global: {
Utils: [path.resolve(__dirname, 'src/js/common/utils'), 'default'],
Manba: 'manba',
HeyUI: 'heyui',
Model: 'js-model',
G: 'hey-global',
log: 'hey-log',
R: [path.resolve(__dirname, 'src/js/common/request'), 'default']
},
devServer: {
proxy: {
// 此处应该配置为开发服务器的后台地址
// '/api': {
// target: 'http://xxx.xx.xx'
// }
},
historyApiFallback: true
},
globalVars: './src/css/var.less',
externals: {}
},
copy: ['static/images/*', 'call/*', './baidu_verify_7O2vpVMzwg.html']
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/cndiyex/heyui-admin.git
git@gitee.com:cndiyex/heyui-admin.git
cndiyex
heyui-admin
heyui-admin
master

搜索帮助