There are a number of choices to make around the Svelte app. @walkah and I discussed these this morning.
Framework
- Svelte
- Use Sapper? (yes)
- Sapper will be replaced by SvelteKit when it is released
- We don’t know a release date – probably in the next month or two
- They claim the upgrade will be manual, but easy
- Will check on routing in Sapper (need hash-based)
- Use SvelteKit? (No, for now)
- Live at the bleeding edge
- But maybe a little too much?
- SvelteKit is in a private repo
- No one from the core team is discussing it in Svelte Discord
- Lots of folks trying it, but things are breaking in unexpected ways for them
- When will it be ready?
- Not this week
- When it’s done
- UI framework
- Tailwind (New to Brian, not really a UI framework)
- Carbon (https://carbon-svelte.vercel.app/) – let’s try it out!
Material (https://sveltematerialui.com/)Bootstrap (https://sveltestrap.js.org)
Routing
- Hash-based routing
- SPA routing might be ok if deep links are unimportant
Bundlers and build tools
- Snowpack
- Rollup or Webpack?
Typescript (should we use it?)
I would love to use it, types are always welcome in my bookSupported by Svelte now, but you need to decide when you start the projectFull support with SvelteKitJames and Brian: Yes, let’s use it- Let’s just use it because types are good!
Project templates
- Sapper might give us a starter project
- Omo has one, but it’s AGPL (James and Brian: this probably won’t work for us)
- Svelte with Typescript and TailwindCSS built with Snowpack
There will probably be other choices to make, but this should get us started for figuring out what to use.