Skip to content

Commit a03860f

Browse files
authored
docs: update appType docs (#11003)
1 parent 61165f0 commit a03860f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/config/shared-options.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ Env variables starting with `envPrefix` will be exposed to your client source co
359359

360360
Whether your application is a Single Page Application (SPA), a [Multi Page Application (MPA)](../guide/build#multi-page-app), or Custom Application (SSR and frameworks with custom HTML handling):
361361

362-
- `'spa'`: include SPA fallback middleware and configure [sirv](https://github.com/lukeed/sirv) with `single: true` in preview
363-
- `'mpa'`: only include non-SPA HTML middlewares
362+
- `'spa'`: include HTML middlewares and use SPA fallback. Configure [sirv](https://github.com/lukeed/sirv) with `single: true` in preview
363+
- `'mpa'`: include HTML middlewares
364364
- `'custom'`: don't include HTML middlewares
365365

366366
Learn more in Vite's [SSR guide](/guide/ssr#vite-cli). Related: [`server.middlewareMode`](./server-options#server-middlewaremode).

0 commit comments

Comments
 (0)