Skip to content

Commit 173765d

Browse files
authored
Merge branch 'main' into main
2 parents 836153a + bf31af6 commit 173765d

File tree

111 files changed

+186
-161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+186
-161
lines changed

apps/svelte.dev/content/docs/kit/25-build-and-deploy/55-single-page-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ title: Single-page apps
55

66
You can turn a SvelteKit app into a fully client-rendered single-page app (SPA) by specifying a _fallback page_. This page will be served for any URLs that can't be served by other means such as returning a prerendered page.
77

8-
> [!NOTE] SPA mode has a large negative performance impact by forcing multiple network round trips (for the blank HTML document, then for the JavaScript, and then for any data needed for the page) before content can be shown. Unless you are serving the app from a local network (e.g.a mobile app that wraps a locally-served SPA) this will delay startup, especially when considering the latency of mobile devices. It also harms SEO by often causing sites to be downranked for performance (SPAs are much more likely to fail [Core Web Vitals](https://web.dev/explore/learn-core-web-vitals)), excluding search engines that don't render JS, and causing your site to receive less frequent updates from those that do. And finally, it makes your app inaccessible to users if JavaScript fails or is disabled (which happens [more often than you probably think](https://kryogenix.org/code/browser/everyonehasjs.html)).
8+
> [!NOTE] SPA mode has a large negative performance impact by forcing multiple network round trips (for the blank HTML document, then for the JavaScript, and then for any data needed for the page) before content can be shown. Unless you are serving the app from a local network (e.g. a mobile app that wraps a locally-served SPA) this will delay startup, especially when considering the latency of mobile devices. It also harms SEO by often causing sites to be downranked for performance (SPAs are much more likely to fail [Core Web Vitals](https://web.dev/explore/learn-core-web-vitals)), excluding search engines that don't render JS, and causing your site to receive less frequent updates from those that do. And finally, it makes your app inaccessible to users if JavaScript fails or is disabled (which happens [more often than you probably think](https://kryogenix.org/code/browser/everyonehasjs.html)).
99
>
1010
> You can avoid these drawbacks by [prerendering](#Prerendering-individual-pages) as many pages as possible when using SPA mode (especially your homepage). If you can prerender all pages, you can simply use [static site generation](adapter-static) rather than a SPA. Otherwise, you should strongly consider using an adapter which supports server side rendering. SvelteKit has officially supported adapters for various providers with generous free tiers.
1111
1212
## Usage
1313

14-
First, disable SSR for the pages you don't want to prerender. These pages will be served via the fallback page. E.g. to serve all pages via the fallback by default, you can update the root layout as shown below. You should [opt back into prerendering individual pages and directories](#Prerendering-individual-pages) where possible.
14+
First, disable SSR for the pages you don't want to prerender. These pages will be served via the fallback page; for example, to serve all pages via the fallback by default, you can update the root layout as shown below. You should [opt back into prerendering individual pages and directories](#Prerendering-individual-pages) where possible.
1515
```js
1616
/// file: src/routes/+layout.js
1717
export const ssr = false;

apps/svelte.dev/content/docs/mcp/20-setup/20-local-setup.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ It will open a file with your MCP servers where you can add the following config
111111

112112
## Zed
113113

114+
Install the [Svelte MCP Server extension](https://zed.dev/extensions/svelte-mcp).
115+
116+
<details>
117+
118+
<summary>Configure Manually</summary>
119+
114120
- Open the command palette
115121
- Search and select "agent:open settings"
116122
- In settings panel look for `Model Context Protocol (MCP) Servers`
@@ -128,6 +134,8 @@ It will open a popup with MCP server config where you can add the following conf
128134
}
129135
```
130136

137+
</details>
138+
131139
## Other clients
132140

133141
If we didn't include the MCP client you are using, refer to their documentation for `stdio` servers and use `npx` as the command and `-y @sveltejs/mcp` as the arguments.

apps/svelte.dev/src/lib/server/generated/registry/ai-sdk-svelte.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"repo_url": "https://github.com/vercel/ai",
55
"authors": ["vercel-release-bot", "matheuss", "matt.straka"],
66
"homepage": "https://ai-sdk.dev/docs",
7-
"version": "3.0.82",
8-
"downloads": 322602,
9-
"github_stars": 18952,
10-
"updated": "2025-10-29T10:20:42.747Z",
7+
"version": "3.0.86",
8+
"downloads": 331895,
9+
"github_stars": 18996,
10+
"updated": "2025-10-31T18:53:39.860Z",
1111
"svelte_range": "^5.31.0",
1212
"typescript": true,
1313
"runes": true,

apps/svelte.dev/src/lib/server/generated/registry/altcha.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["ovx"],
66
"homepage": "https://altcha.org",
77
"version": "2.2.4",
8-
"downloads": 20901,
9-
"github_stars": 1632,
8+
"downloads": 21350,
9+
"github_stars": 1638,
1010
"updated": "2025-09-27T22:35:07.312Z",
1111
"svelte_range": "^5.28.6",
1212
"typescript": true,

apps/svelte.dev/src/lib/server/generated/registry/amplify-adapter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authors": ["zimbronapps"],
66
"homepage": "https://github.com/gzimbron/amplify-adapter#readme",
77
"version": "1.2.3",
8-
"downloads": 1633,
8+
"downloads": 1538,
99
"github_stars": 32,
1010
"updated": "2025-09-11T19:17:42.448Z",
1111
"kit_range": "^2.4.0",

apps/svelte.dev/src/lib/server/generated/registry/ark-ui-svelte.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"repo_url": "https://github.com/chakra-ui/ark",
55
"authors": ["segunadebayo", "schroetier"],
66
"homepage": "https://ark-ui.com",
7-
"version": "5.11.2",
8-
"downloads": 317,
9-
"github_stars": 4755,
10-
"updated": "2025-10-18T20:55:41.236Z",
7+
"version": "5.12.0",
8+
"downloads": 376,
9+
"github_stars": 4756,
10+
"updated": "2025-11-01T16:05:36.329Z",
1111
"svelte_range": ">=5.20.0",
12-
"kit_range": "2.46.5",
12+
"kit_range": "2.48.0",
1313
"typescript": true,
1414
"runes": true,
1515
"last_rune_check_version": "0.3.0"

apps/svelte.dev/src/lib/server/generated/registry/better-auth.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["bekacru"],
66
"homepage": "https://better-auth.com",
77
"version": "1.3.34",
8-
"downloads": 427213,
9-
"github_stars": 22412,
8+
"downloads": 424914,
9+
"github_stars": 22476,
1010
"updated": "2025-10-29T07:11:14.084Z",
1111
"svelte_range": "^4.0.0 || ^5.0.0",
1212
"kit_range": "^2.37.1",

apps/svelte.dev/src/lib/server/generated/registry/bits-ui.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"repo_url": "https://github.com/huntabyte/bits-ui",
55
"authors": ["huntabyte"],
66
"homepage": "https://github.com/huntabyte/bits-ui#readme",
7-
"version": "2.14.1",
8-
"downloads": 274966,
9-
"github_stars": 2732,
10-
"updated": "2025-10-23T22:48:06.448Z",
7+
"version": "2.14.2",
8+
"downloads": 273244,
9+
"github_stars": 2737,
10+
"updated": "2025-11-01T00:23:54.276Z",
1111
"svelte_range": "^5.33.0",
1212
"kit_range": "^2.42.0",
1313
"typescript": true,

apps/svelte.dev/src/lib/server/generated/registry/carbon-components-svelte.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"authors": ["metonym"],
66
"homepage": "https://svelte.carbondesignsystem.com/",
77
"version": "0.90.1",
8-
"downloads": 15476,
9-
"github_stars": 2846,
8+
"downloads": 13841,
9+
"github_stars": 2845,
1010
"updated": "2025-10-26T20:19:23.762Z",
1111
"typescript": true,
1212
"runes": false,

apps/svelte.dev/src/lib/server/generated/registry/carta-md.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authors": ["astrobear"],
66
"homepage": "https://github.com/BearToCode/carta#readme",
77
"version": "4.11.1",
8-
"downloads": 4219,
8+
"downloads": 4226,
99
"github_stars": 680,
1010
"updated": "2025-06-13T20:58:58.615Z",
1111
"svelte_range": "^5.0.0",

0 commit comments

Comments
 (0)