skeletonlabs / skeleton

A complete design system and component solution, built on Tailwind.
https://skeleton.dev
MIT License
5.1k stars 321 forks source link

Feature request: Support popular routers like svelte-spa-router and routify #2527

Closed boustanihani closed 8 months ago

boustanihani commented 8 months ago

Describe the feature in detail (code, mocks, or screenshots encouraged)

Currently the docs state: https://www.skeleton.dev/docs/get-started Please be aware that Skeleton only supports "SvelteKit" applications at this time.

Not everyone uses SvelteKit.

Please also support popular routers like svelte-spa-router and routify :

What type of pull request would this be?

None

Provide relevant links or additional information.

No response

endigo9740 commented 8 months ago

@boustanihani this is already in process. As part of Skeleton v3 we'll introduce support for a whole host of other frameworks and metaframeworks. This includes, but is not limited to:

If you're not using SvelteKit then you're typically running some derivative of Vite/Svelte, which is what I believe Routify is built on.

boustanihani commented 8 months ago

Thank you for the quick response and clarifications :)

boustanihani commented 8 months ago

@endigo9740 just wondering, is there an expected release date for Skeleton v3 :) ?

Sarenor commented 8 months ago

We're currently sticking with "before the heat death of the universe". I'd be willing to gamble on "Sometime in 2024" as well ;) Apart from that, not really.

You can also use whatever router-likes you want with Skeleton v2, there should be nothing SvelteKit specific inside of Skeleton since we tried to avoid that. You're just on your own as far as setup and issues with it go, since we will only support you when you're having issues with SvelteKit.

If it's purely a Skeleton issue, we'll of course help, but if it is a result of your combination of Meta-Framework & Skeleton, you might be on your own (for now).

boustanihani commented 8 months ago

Thanks, great work :)

endigo9740 commented 8 months ago

@boustanihani yeah I completely buried the lede here, but what Sarenor said. Skeleton should be fully compatible with v2 now, we just don't provide support around this - which is what I assumed you were requesting here. That story will change in v3.

As per v3's release, we are working alongside a very much in development version of Svelte, which means the due date is somewhat outside our hands. But we have it good authority that we'll see Svelte 5 drop at the next Svelte Summit. Beyond that, it's just a matter of getting everything done. You can track milestone issues here:

https://github.com/skeletonlabs/skeleton/milestone/5

If I was a betting man I'd say sometime this summer. But you should never trust time quotes from devs! :D