email-unlimit/frontend/vue.config.js

21 lines
596 B
JavaScript

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
// devServer 代理配置已移除,所有代理均由外部 Nginx 处理。
pwa: {
name: 'EmailUnlimit',
themeColor: '#000000',
msTileColor: '#000000',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
// 配置 workbox-webpack-plugin
workboxPluginMode: 'GenerateSW',
workboxOptions: {
// swSrc is required in InjectManifest mode.
// swSrc: 'dev/sw.js',
// ...other Workbox options...
}
}
})