1 Star 0 Fork 0

JackZeng/frontend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue.config.js 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
GalvinGao 提交于 2020-02-13 22:13 +08:00 . 修复排版爆炸
// const Critters = require('critters-webpack-plugin');
module.exports = {
'transpileDependencies': [
'vuetify'
],
devServer: {
proxy: {
"/api": {
target: "http://localhost/",
pathRewrite: {'^/api' : ''}
}
}
},
outputDir: 'dist',
runtimeCompiler: true,
integrity: true,
pluginOptions: {
i18n: {
locale: 'zh',
fallbackLocale: 'zh',
localeDir: 'locales',
enableInSFC: true
}
},
// configureWebpack: {
// plugins: [
// // new Critters()
// ]
// }
// pwa: {
// name: "feiyan.help",
// themeColor: "#813d34",
// msTileColor: "#1d499b",
// appleMobileWebAppStatusBarStyle: "black-translucent",
//
// workboxPluginMode: "GenerateSW",
// // iconPaths: {
// // favicon32: 'favicon/favicon-32x32.png',
// // favicon16: 'favicon/favicon-16x16.png',
// // appleTouchIcon: 'favicon/apple-touch-icon.png',
// // maskIcon: 'favicon/safari-pinned-tab.svg',
// // msTileImage: 'favicon/mstile-150x150.png'
// // }
// },
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/RDPStudio/frontend.git
git@gitee.com:RDPStudio/frontend.git
RDPStudio
frontend
frontend
master

搜索帮助