1 Star 0 Fork 1.6K

boy_lin / Avue

forked from smallwei / Avue 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 779 Bytes
一键复制 编辑 原始数据 按行查看 历史
smallwei 提交于 2018-09-11 16:25 . feat(cli): IE support
module.exports = {
lintOnSave: process.env.NODE_ENV !== 'production',
productionSourceMap: false,
chainWebpack: (config) => {
config.externals({
'vue': 'Vue',
'vue-router': 'VueRouter',
'vuex': 'Vuex',
'axios': 'axios',
'element-ui': 'ELEMENT',
})
},
transpileDependencies: ['avue-plugin-transfer'],
//配置转发代理
devServer: {
overlay: {
warnings: true,
errors: true
},
// proxy: {
// '/api': {
// target: 'http://127.0.0.1:3000',
// ws: true,
// pathRewrite: {
// '^/api': '/api'
// }
// },
// }
}
}
JavaScript
1
https://gitee.com/boy_lin/avue.git
git@gitee.com:boy_lin/avue.git
boy_lin
avue
Avue
master

搜索帮助