You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
951 B

module.exports = {
devServer: {
disableHostCheck: true,
},
publicPath: ["production", "stage", "u168"].includes(process.env.VUE_ENV)
? "/home"
: "/home",
outputDir:
["production", "u168"].includes(process.env.VUE_ENV)
? "../ecard_api/public/home"
: "./dist",
pwa: {
name: "UTel電子名片",
short_name: "UTel",
background_color: "#3367D6",
display: "browser",
icons: [
{
src: "/img/icons/android-chrome-192x192.png",
type: "image/png",
sizes: "192x192",
},
{
src: "/img/icons/android-chrome-512x512.png",
type: "image/png",
sizes: "512x512",
},
],
themeColor: "#4DBA88",
// msTileColor: '#000000',
// appleMobileWebAppCapable: 'yes',
// appleMobileWebAppStatusBarStyle: 'black',
workboxPluginMode: "GenerateSW",
workboxOptions: {
skipWaiting: true,
},
},
};