If anyone can help me with my noob questions

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

Our great sponsors
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Amplication - open-source Node.js backend code generator
  • Appwrite - The open-source backend cloud platform
  • Mergify - Updating dependencies is time-consuming.
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • 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/
  • 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. ✌🏼

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

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