diff --git a/.changeset/brown-pens-glow.md b/.changeset/brown-pens-glow.md new file mode 100644 index 000000000000..28e03c552db3 --- /dev/null +++ b/.changeset/brown-pens-glow.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +[breaking] Overhaul filesystem-based router (https://github.com/sveltejs/kit/discussions/5774) diff --git a/.changeset/honest-pandas-joke.md b/.changeset/honest-pandas-joke.md new file mode 100644 index 000000000000..ed73b4246d93 --- /dev/null +++ b/.changeset/honest-pandas-joke.md @@ -0,0 +1,5 @@ +--- +'create-svelte': patch +--- + +Update templates diff --git a/.changeset/orange-ties-tell.md b/.changeset/orange-ties-tell.md new file mode 100644 index 000000000000..dbe12ea3e2b9 --- /dev/null +++ b/.changeset/orange-ties-tell.md @@ -0,0 +1,5 @@ +--- +'svelte-migrate': patch +--- + +Rewrite type names diff --git a/.changeset/thin-carrots-sin.md b/.changeset/thin-carrots-sin.md new file mode 100644 index 000000000000..dae729f07fea --- /dev/null +++ b/.changeset/thin-carrots-sin.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +[breaking] Change load API (https://github.com/sveltejs/kit/discussions/5774) diff --git a/documentation/docs/01-project-structure.md b/documentation/docs/01-project-structure.md index f3e22acf84f7..dff7f3d218be 100644 --- a/documentation/docs/01-project-structure.md +++ b/documentation/docs/01-project-structure.md @@ -33,7 +33,7 @@ The `src` directory contains the meat of your project. - `lib` contains your library code, which can be imported via the [`$lib`](/docs/modules#$lib) alias, or packaged up for distribution using [`svelte-kit package`](/docs/packaging) - `params` contains any [param matchers](/docs/routing#advanced-routing-matching) your app needs -- `routes` contains the [pages](/docs/routing#pages) and [endpoints](/docs/routing#endpoints) of your application +- `routes` contains the [routes](/docs/routing) of your application - `app.html` is your page template — an HTML document containing the following placeholders: - `%sveltekit.head%` — `` and ` -A route can have multiple dynamic parameters, for example `src/routes/[category]/[item].svelte` or even `src/routes/[category]-[item].svelte`. (Parameters are 'non-greedy'; in an ambiguous case like `x-y-z`, `category` would be `x` and `item` would be `y-z`.) +