If anyone can help me with my noob questions

This page summarizes the projects mentioned and recommended in the original post on /r/sveltejs

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • SvelteKit

    web development, streamlined (by sveltejs)

    Assuming you're using the svelte starter template, global.css is just a regular CSS file. It's linked in your index.html in the build folder and is about what you'd expect. Since svelte scopes styles to your components (unless you use the :global() psuedoclass), that's just there as a general purpose global CSS file. bundle.css is the stylesheet generated by the svelte compiler. It's basically the contents of the CSS in your component's tags, and will be scoped to the component unless using the :global() selector.

  • Assuming you're just working with your normal run-of-the-mill SPA app, it's hosted any other way. The svelte starter template linked by the docs just serves the (mostly blank) index.html, then renders your app through that bundle.js file, which is the bulk of your application.
  • The template used by the tutorial and docs is for an SPA (singe page application). If you want things like server-side rendering (filling up that index.html with the contents of your app before load), routing (multiple pages), stuff like that you need to look to SvelteKit - https://kit.svelte.dev/
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • routify

    Automated Svelte routes

    Regarding some suggestions on here recommending SvelteKit: Learning SvelteKit might be a big ask depending on what you're trying to do. If you just want to stick with svelte only for now, and you want to add SPA routing capabilities, consider checking out https://routify.dev there's a ton of documentation for it and it's fairly simple to pick up. ✌🏼

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to handle large file uploads in SvelteKit using streams

    2 projects | dev.to | 13 Aug 2024
  • Building TailwindUI's Spotlight using SvelteKit and Svelte 5 with TailwindCSS

    3 projects | dev.to | 29 Jun 2024
  • SvelteKit 2.5.15 Released

    1 project | news.ycombinator.com | 14 Jun 2024
  • CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 6

    2 projects | dev.to | 23 May 2024
  • Ask HN: What is the best stack for a single dev?

    1 project | news.ycombinator.com | 16 May 2024

Did you konow that JavaScript is
the 3rd most popular programming language
based on number of metions?