pwa-module icon indicating copy to clipboard operation
pwa-module copied to clipboard

State of this plugin with Nuxt 3 ?

Open nkCreation opened this issue 4 years ago • 7 comments

Hello,

What the support of this plugin in nuxt 3 ? Can't manage to make it work in a fresh nuxt 3 app :(

Thank you 👍

nkCreation avatar Oct 18 '21 15:10 nkCreation

Can't manage to make it work in a fresh nuxt 3 app :(

Same for me, after including the plugin in nuxt.config.ts no error occurs, but also it seems like it's not loaded at all.

hputzek avatar Nov 09 '21 11:11 hputzek

Would be also important to update workbox to version 6 as it contains important features, fixes, and typescript support.

Tragio avatar Nov 17 '21 10:11 Tragio

Good old fashion bump of interest 🙏

CodyBontecou avatar Feb 12 '22 02:02 CodyBontecou

Seems that will be a built-in feature: https://v3.nuxtjs.org/community/roadmap#%EF%B8%8F-roadmap

More here: https://github.com/nuxt/framework/discussions/1823

igorjacauna avatar Mar 15 '22 20:03 igorjacauna

It looks like the built-in feature is related to the meta module, but I see nothing regarding the manifest module.

sillvva avatar May 10 '22 20:05 sillvva

It looks like the built-in feature is related to the meta module, but I see nothing regarding the manifest module.

Maybe vite-plugin-pwa will help with this: https://vite-plugin-pwa.netlify.app

igorjacauna avatar May 10 '22 21:05 igorjacauna

I suceeded to implement PWA in my Nuxt 3 website :

https://github.com/kevinmarrec/marrec.io/pull/239 https://marrec.io

These are likely the first steps for the next iteration of Nuxt PWA module.

My local module implementation is really basic, but it does work.

EDIT: I migrated the local module to a standalone package so you can easily add it to your Nuxt 3 project: https://github.com/kevinmarrec/nuxt-pwa-module

kevinmarrec avatar May 14 '22 00:05 kevinmarrec