Skip to content

Commit

Permalink
chore: update svelte projects (vite and webpack) to svelte 5 (#40)
Browse files Browse the repository at this point in the history
* update svelte-webpack to support svelte 5

* update tests and components to be svelte 5 compliant

* update svelte vite project to svelte 5 and update tests/components to comply with svelte 5
  • Loading branch information
AtofStryker authored Dec 10, 2024
1 parent 89ad4f7 commit 42d9eff
Show file tree
Hide file tree
Showing 34 changed files with 3,391 additions and 1,595 deletions.
1 change: 0 additions & 1 deletion svelte-vite-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also pow

- It brings its own routing solution which might not be preferable for some users.
- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.
`vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example.

This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.

Expand Down
6 changes: 3 additions & 3 deletions svelte-vite-ts/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Svelte + TS + Vite App</title>
<title>Vite + Svelte + TS</title>
</head>
<body>
<div id="app"></div>
Expand Down
Loading

0 comments on commit 42d9eff

Please sign in to comment.