Skip to content

Commit

Permalink
docs: update appType docs (#11003)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Nov 20, 2022
1 parent 61165f0 commit a03860f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/config/shared-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ Env variables starting with `envPrefix` will be exposed to your client source co

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):

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

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

0 comments on commit a03860f

Please sign in to comment.