#How do I use solid router in the solid playground?
1 messages · Page 1 of 1 (latest)
can you provide a link to your playground
On Mobile rn and the share button doesn’t seem to work on mobile, but all I did was was:
- Add “@solidjs/router”: “https://jspm.dev/@solidjs/router” to the import map
- Trying to import anything from “@solidjs/router” in main.tsx
That will produce the error
This guy seems to have the same issue, although it’s something else they’re talking about in that discussion
It seems to work for me but it does take... a moment, to update.
A moment has been an hour and counting for me 🙂
👆🏼
No I cannot
Quickly discover what the solid compiler will generate from your JSX template
the error appears, and the router isn't actually working, though there's no console error
Thanks!
the script runs in an url like blob:https://playground.solidjs.com/8c3bb403-a083-4108-97ca-87d20c431342 so the routes wont match I guess, if you make the path for example path="/*" it works
Quickly discover what the solid compiler will generate from your JSX template
it fails when the link is blob: tho