🔧 (pwa)
This commit is contained in:
@@ -14,6 +14,11 @@
|
|||||||
1. create `app.scss` and import it in `App.vue`.
|
1. create `app.scss` and import it in `App.vue`.
|
||||||
1. `app.scss`: styleappstyles
|
1. `app.scss`: styleappstyles
|
||||||
|
|
||||||
|
## Ajouter l'icone
|
||||||
|
|
||||||
|
1. `cp ~/jclab/bons-programmeurs/public/logo.svg public`
|
||||||
|
1. `npx vue-pwa-asset-generator -a public/logo.svg -o public/img/icons`
|
||||||
|
|
||||||
## Ajouter de la musique
|
## Ajouter de la musique
|
||||||
|
|
||||||
## Ajouter les notifications
|
## Ajouter les notifications
|
||||||
|
|||||||
@@ -5,6 +5,10 @@ module.exports = {
|
|||||||
themeColor: mainColor,
|
themeColor: mainColor,
|
||||||
msTileColor: mainColor,
|
msTileColor: mainColor,
|
||||||
name: 'Binôme',
|
name: 'Binôme',
|
||||||
|
workboxOptions: {
|
||||||
|
skipWaiting: true,
|
||||||
|
clientsClaim: true
|
||||||
|
},
|
||||||
manifestOptions: {
|
manifestOptions: {
|
||||||
background_color: mainColor,
|
background_color: mainColor,
|
||||||
theme_color: mainColor,
|
theme_color: mainColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user