-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to Run Example #3
Comments
try including pwa plugin and remix-sw types inside // app/vite-env.d.ts
/// <reference types="vite/client" />
/// <reference types="vite-plugin-pwa/client" />
/// <reference types="@vite-pwa/remix/remix-sw" /> |
I tried the same and it did not work. |
If you're using latest remix-run version (2.9+), we're trying to fix a problem using tsx components in this repo, you can copy/paste the logic in the root.tsx file or copy Check this entry in remix discord server: https://discord.com/channels/770287896669978684/1239208602024280076 Anyway, I'm finishing the remix template in |
Steps to Reproduce:
remix/examples/pwa-simple-sw
into a separate directory.package.json
, replace"@vite-pwa/remix": "workspace:*"
with"@vite-pwa/remix": "^0.0.1"
.npm i
.npm run dev
.Result:
When attempting to access http://localhost:5173/, an error occurs:
The text was updated successfully, but these errors were encountered: