-
Notifications
You must be signed in to change notification settings - Fork 14
/
vue.config.js
49 lines (45 loc) · 1.06 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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: "covid-19.icu",
// 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'
// // }
// },
}