From 432e034b80e875078b7ae2f357c9c671c8b698bb Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Mon, 12 Sep 2022 00:33:28 +0200 Subject: [PATCH] temporarily disable PWA in order to (hopefully) fix caching issues - revert --- nuxt.config.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 8d0fbf8b1..28c038a34 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -136,7 +136,6 @@ export default { }, css: [], plugins: [ - // { src: '~/plugins/vue-matomo.js', ssr: false }, { src: '~/plugins/globals.js' }, { src: '~/plugins/auth.js' }, { src: '~/plugins/datepicker.js', ssr: false }, @@ -144,7 +143,7 @@ export default { components: true, buildModules: [], modules: [ - //'@nuxtjs/pwa', + '@nuxtjs/pwa', '@nuxtjs/axios', ['@nuxtjs/redirect-module', { rules: config.redirects, @@ -152,16 +151,16 @@ export default { 'cookie-universal-nuxt', 'vue-plausible' ], - // pwa: { - // manifest: { - // name: title, - // short_name: title, - // description: description, - // background_color: '#ffffff', - // theme_color: colour, - // lang: locale, - // } - // }, + pwa: { + manifest: { + name: title, + short_name: title, + description: description, + background_color: '#ffffff', + theme_color: colour, + lang: locale, + } + }, plausible: { domain: process.env.PLAUSIBLE_DOMAIN || translations.domain, },