pico-router
pico-router copied to clipboard
More detailed Svelte example
Need a more detailed Svelte example. Perhaps with 2-3 components and an animated transition. Info on where to put code (App.svelte?), etc...
Along this line, it would be cool to have more in-depth documentation for the whole API, showing what all the functions are and what args they take, etc. From these docs we are left to guess alot of stuff.
+1 on this, it would be very very helpful for beginners like myself.
Something like https://glitch.com/~svelte-3 would be great.
One example I was looking forward was a code splitting/lazy load example. I followed the instructions for the code splitting, but I was unsuccessful.
is this actively maintained? any update on the above request?
The repo is actively maintained. I ran into some issues surrounding nested routers with Svelte and that kicked off some internal refactoring.
I'll be revisiting Svelte and the docs soon
Any progress on this?
I grabbed the animated svelte example in this repo and I get an error:
Uncaught TypeError: lib.create is not a function
at main.ts:9
at main.ts:36