From a03860f1320c0bff8e2b8b7fd0e1c42a7565e767 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Sun, 20 Nov 2022 08:57:12 -0800 Subject: [PATCH] docs: update appType docs (#11003) --- docs/config/shared-options.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/shared-options.md b/docs/config/shared-options.md index 0ebddfd988bb04..671ef6be8f9924 100644 --- a/docs/config/shared-options.md +++ b/docs/config/shared-options.md @@ -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).