diff --git a/doc/details.md b/doc/details.md index 56042c5..aa901f7 100644 --- a/doc/details.md +++ b/doc/details.md @@ -14,6 +14,11 @@ 1. create `app.scss` and import it in `App.vue`. 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 les notifications diff --git a/vue.config.js b/vue.config.js index 909bdcd..93e4485 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,6 +5,10 @@ module.exports = { themeColor: mainColor, msTileColor: mainColor, name: 'BinĂ´me', + workboxOptions: { + skipWaiting: true, + clientsClaim: true + }, manifestOptions: { background_color: mainColor, theme_color: mainColor,