svelte-spa-router
carbon-components-svelte
svelte-spa-router | carbon-components-svelte | |
---|---|---|
17 | 34 | |
1,476 | 2,609 | |
- | 0.5% | |
5.7 | 9.0 | |
about 1 month ago | 2 days ago | |
JavaScript | Svelte | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svelte-spa-router
- Svelte 4 Released
- UI kits, form validation, SPA routing. Why basic libraries are so hard to find.
- Svelte-spa-router: Router for SPAs using Svelte 3
-
[Q] Can I use sveltekit with rust?
But the choice depends on the type of application though. If your routes are not dynamic (not using variables within route) then you can use static site generation (SSG) which will generate the various html files. Otherwise you need to use the same file (index.html#my/dynamic/route/5). To my knowledge svelteKit doesn't support hash-based routes. You might be able to configure routing without it, but if you need that, you me be better off to use svelte with svelte-spa-router and not sveltekit.
-
Thoughts on Svelte
https://github.com/ItalyPaleAle/svelte-spa-router seems good too.
but it's not official, and Svelte project seems careless for client routing, instead it tries to convince everyone use its SSR-first kit, that "can do CSR too", which means you have to carry the whole SSR code base and its documentation into your CSR project totally unnecessarily.
I get it Vercel needs SSR for its business, I don't get it why it keeps selling everyone that "my SSR-first framework is great for CSR SPA too", it is NOT, not at all.
-
SvelteKit worth?
For a simple static site you can just use svelte with svelte-spa-router. If you want SSG, use Astro, it's a lot more mature than SvelteKit.
-
How do i make the Nav links work in Svelte?
Svelte SPA Router - You need a router. NextJS, which you have experienced in, comes with a router.
-
Some front-end web technologies you should be aware of as a newcomer 🧐
Svelte SPA Router
-
svelte-spa-router not registating external hash change
I am using Keycloak for logging into my app and svelte-spa-router for hash based routing inside my SPA. After successful login, Keycloak should redirect back to http://localhost:1234/#/myRoute . However, Keycloak appends some suffixes to this route. The route ends up looking something like this: http://localhost:1234/#/myRoute&state=hexstring&session_state=hexstring... etc As I defined my route (inside routes.js) as /myRoute , the router fails to parse the URL returned by keycloak. Looking at the source code I noticed that keycloak changes the URL back to the "clean" parameterless URL: http://localhost:1234/#/myRoute using a call to window.location.replaceState . Unfortunately, this call does not get reflected in the spa-routers internal svelte store (i.e. $location).
-
My Evaluation of SvelteKit for Full-Stack Web App Development
How does Routify compare with svelte-spa-router[1]? I really like svelte-spa-router for a simple SPA, though I think a lot of SPA routers don't always handle state well.
[1] https://github.com/ItalyPaleAle/svelte-spa-router
carbon-components-svelte
- Are there any customizeable UI libraries that are DON'T use Tailwind?
-
Svelte 4 Released
We did a pretty big one, integrated with a python/gtk app [yikes]. Anyways, svelte is a joy to work with, also on the note of libraries, svelte's community is smaller but I found by far my favourite component system I've ever used - https://carbon-components-svelte.onrender.com/.. surprising coming from IBM, but hey, I'll take it.
But in general electron was a pain, slow builds - had an adhoc solution for the svelte dev server, but its not great.
-
Any nice dashboard libraries?
https://carbon-components-svelte.onrender.com/ maybe this is something for you.
-
Are there any UI frameworks competitors to Vue Vuetify or React MUI?
I really liked Carbon Components Svelte but they lacked mobile support. I will have to check Framework7 .
-
Which UI Kit are you using with Svelte?
If you need something with a bit more functionality out of the box, I'd recommend -Carbon Components (https://carbon-components-svelte.onrender.com) -Skeleton(https://www.skeleton.dev)
- What UI framework would you recommend?
-
Are there any downsides in using svelte or sveltekit?
Svelte/SvelteKit does have some high-quality libraries available like carbon-components-svelte but there's just nothing near as much.
- A really nice UI library that uses Carbon Design System
-
Carbon-design-system for Svelte: dynamic import is your only solution !
I've opened issue on IBM community to find a solution rather than importing via , although I could not even get any answer to that . After sometime of scratching my head and couple of tests on Webpack behaviour, I've managed to crack carbon-design-system for Svelte once and for all . Repeating myself:
-
Best practice for UI design in scientific app
You could check out Carbon https://carbon-components-svelte.onrender.com/
What are some alternatives?
svelte-routing - A declarative Svelte routing library with SSR support
shoelace-css - A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME. WE ARE LIVE ON KICKSTARTER! 👇👇👇
svelte-routify-windi-vite - Svelte Starter template with Routify file-based router, WindiCSS Tailwind compiler and Vite
svelte-material-ui - Svelte Material UI Components
awesome-sveltekit - Awesome examples of SvelteKit in the wild
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
electron-sveltekit - Electron and SvelteKit integration
svelte-materialify - A Material UI Design Component library for Svelte heavily inspired by vuetify.
svelte-starter-kit - Svelte with brilliant bells and useful whistles
svelte-grid-responsive - Responsive grid system based on Bootstrap for Svelte
routify - Automated Svelte routes
svelte-tutorial - All the course files for the Svelete (beginners) playlist on The Net Ninja YouTube channel.