Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case-study Svelte #2

Open
lisavanmansom opened this issue Sep 3, 2024 · 0 comments
Open

Case-study Svelte #2

lisavanmansom opened this issue Sep 3, 2024 · 0 comments

Comments

@lisavanmansom
Copy link
Owner

lisavanmansom commented Sep 3, 2024

Framework

Een framework is een set tools, library, en richtlijnen die helpen bij het bouwen van structuren van softwaretoepassingen. Daarnaast zorgt het voor een basisstructuur.

Getting started

What is SvelteKit?

SvelteKit helps you build web apps while following modern best practices and providing solutions to common development challenges. It offers everything from basic functionalities

The outcome of this approach is not only smaller application bundles and better performance, but also a developer experience that is more approachable for people that have limited experience of the modern tooling ecosystem.

Svelte sticks closely to the classic web development model of HTML, CSS, and JS, just adding a few extensions to HTML and JavaScript. It arguably has fewer concepts and tools to learn than some of the other framework options.

Creating a project

Bron

npm create svelte@latest my-app
cd my-app
npm install
npm run dev

2 basic concepts:

  1. Each page of your app is a Svelte component
  2. You create pages by adding files to the src/routes directory of your project. These will be server-rendered so that a user's first visit to your app is as fast as possible, then a client-side app takes over

Other sources

Svelte interactieve tutorial

Scherm­afbeelding 2024-09-03 om 14 07 18
Scherm­afbeelding 2024-09-03 om 14 13 21

SvelteKit tutorial

Daarna heb ik de SvelteKit tutorial gevolgd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant