Skip to content

Commit

Permalink
to: pwa配置
Browse files Browse the repository at this point in the history
  • Loading branch information
journey-ad committed Dec 17, 2023
1 parent 3e986c5 commit ccb5946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,5 @@
"stylus-loader": "^3.0.2",
"vue-svg-icon": "^1.2.9",
"vue-template-compiler": "^2.7.15"
},
"pwa": {
"name": "pixiv-viewer",
"themeColor": "#2cabff"
}
}
4 changes: 4 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module.exports = {
publicPath: process.env.NODE_ENV === 'production'
? '././'
: '/',
pwa: {
name: "pixiv-viewer",
themeColor: "#2cabff"
},
chainWebpack: config => {
config
.module
Expand Down

0 comments on commit ccb5946

Please sign in to comment.