pico-router icon indicating copy to clipboard operation
pico-router copied to clipboard

More detailed Svelte example

Open rlaferla opened this issue 6 years ago • 7 comments

Need a more detailed Svelte example. Perhaps with 2-3 components and an animated transition. Info on where to put code (App.svelte?), etc...

rlaferla avatar Oct 11 '19 21:10 rlaferla

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.

AdamT213 avatar Oct 17 '19 16:10 AdamT213

+1 on this, it would be very very helpful for beginners like myself.

Something like https://glitch.com/~svelte-3 would be great.

ekafyi avatar Oct 31 '19 11:10 ekafyi

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.

quintans avatar Jan 05 '20 22:01 quintans

is this actively maintained? any update on the above request?

northkode avatar Mar 08 '20 01:03 northkode

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

alshdavid avatar Mar 08 '20 03:03 alshdavid

Any progress on this?

acim avatar Aug 18 '20 22:08 acim

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

bluebrown avatar Sep 02 '20 08:09 bluebrown