From be6f5a868b05e957f6781ba3cadf539e9c15b2d4 Mon Sep 17 00:00:00 2001 From: Fernando Date: Fri, 10 May 2019 15:19:44 -0500 Subject: [PATCH] Cambiado el funcionamiento de Workbox para permitir notificaciones push. --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 081de77..38d23ea 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,8 +23,9 @@ module.exports = { css: undefined, pwa: { + workboxPluginMode: "InjectManifest", workboxOptions: { - skipWaiting: true + swSrc: __dirname + "/public/service-worker.js" } } };