-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Plugin doesn't work on React vite template? #41
Comments
@krypticallusion can you provide a minimal repro so we can test? thanks |
@krypticallusion, can you can try to add the entry on the |
@krypticallusion can you add types with this?: "types": [
"vite-plugin-pwa/client"
] |
https://github.com/krypticallusion/test. This is a fine test repo? I've tried your above suggestions but they seem to be in vain. Thanks! |
@krypticallusion add "include": ["vite-plugin-pwa/client"] I'll try with you repro... |
0.6.5 seems to resolve the issue. Thanks! |
Upon build
Do I have to install vue for this plugin to work?
EDIT:
I had to include
node_modules/vite-plugin-pwa/client.d.ts
intsconfig.json
for VScode to even pick up that such a module exists.The text was updated successfully, but these errors were encountered: