Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding PWA to Vite App #866

Closed
praveen-wal opened this issue Sep 29, 2020 · 7 comments
Closed

Adding PWA to Vite App #866

praveen-wal opened this issue Sep 29, 2020 · 7 comments

Comments

@praveen-wal
Copy link

Is your feature request related to a problem? Please describe.
I am trying to convert my vite app to PWA, but there is a limitation in the documentation.

Describe the solution you'd like
Maybe creating a plugin to add PWA

Describe alternatives you've considered
I considered writing all the code myself, but I'm not that great with service workers

@antfu
Copy link
Member

antfu commented Sep 29, 2020

I am working on a plugin for PWA support, which requires #739. Please keep tuned.

As this is more like a plugin-provided feature than the features of Vite itself, I'm closing for now. Thanks.

@antfu antfu closed this as completed Sep 29, 2020
@softboy99
Copy link

Hi,
what's the status now, where is the pwa plugin for vite?

@Niputi
Copy link
Contributor

Niputi commented Feb 2, 2021

@softboy99 https://github.com/antfu/vite-plugin-pwa

@softboy99
Copy link

Hi,
Thanks, it is more better to add any pwa documentation merged to vite documentation like vue cli. It is much more better to add an option to vite cli wizard,just like vue cli

@Niputi
Copy link
Contributor

Niputi commented Feb 2, 2021

@JenuelDev
Copy link

https://vitejs.dev/plugins/#official-plugins

https://github.com/vitejs/awesome-vite

does this mean, no official pwa plugin for vite?

@patak-dev
Copy link
Member

@BroJenuel yes, there are community plugins for PWA like https://github.com/antfu/vite-plugin-pwa
Vite tries to offer out-of-the-box support for common web idioms so more features may be added in the future, but the rollup-based plugin system is quite versatile so you can just do it through a community plugin.

Adding a message in a closed issue will notify all Vite maintainers. Let's better create discussions for these topics https://github.com/vitejs/vite/discussions, or join the discord server at https://chat.vitejs.dev to chat.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants