2 Star 25 Fork 4

蔡强伟/wechatbill

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 704 Bytes
一键复制 编辑 原始数据 按行查看 历史
蔡强伟 提交于 2021-03-24 18:09 +08:00 . 1
const autoprefixer = require('autoprefixer')
const pxtoviewport = require('postcss-px-to-viewport')
const path = require('path')
module.exports = {
outputDir: 'dist',
publicPath: process.env.NODE_ENV === 'production' ? '/wechatbill/' : '/',
css: {
loaderOptions: {
postcss: {
plugins: [
autoprefixer(),
pxtoviewport({
viewportWidth: 375
})
]
}
}
},
devServer: {
open: true,
overlay: {
warnings: false,
errors: true
},
proxy: {
'/api': {
target: 'http://47.99.134.126:7008',
ws: true,
changeOrigin: true
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/codercqw/wechatbill.git
[email protected]:codercqw/wechatbill.git
codercqw
wechatbill
wechatbill
master

搜索帮助