#How do I use solid router in the solid playground?

1 messages · Page 1 of 1 (latest)

coral stirrup
#

I added solid router to the importmap, but whenever trying to import something it says “Cannot find module ‘@solidjs/router’ or it’s corresponding type declarations”

marble acorn
coral stirrup
#

This guy seems to have the same issue, although it’s something else they’re talking about in that discussion

daring summit
#

It seems to work for me but it does take... a moment, to update.

coral stirrup
#

A moment has been an hour and counting for me 🙂

marble acorn
coral stirrup
#

No I cannot

daring summit
#

the error appears, and the router isn't actually working, though there's no console error

marble acorn
#

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

#

it fails when the link is blob: tho