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

Any way to know if you're in a PWA? #94

Open
watzon opened this issue Nov 1, 2023 · 1 comment
Open

Any way to know if you're in a PWA? #94

watzon opened this issue Nov 1, 2023 · 1 comment

Comments

@watzon
Copy link

watzon commented Nov 1, 2023

Wondering if there's anyway to apply conditional styling based on whether or not you're within a PWA. Would be nice to have if not.

@userquin
Copy link
Member

userquin commented Nov 1, 2023

@watzon you can check nuxt integration impl. here https://github.com/vite-pwa/nuxt/blob/main/templates/pwa.client.ts#L15 , check the link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants