Server adapters integrating Vike with various server frameworks.
Docs:
The following packages provide the vike(app) server adapter for each server framework:
vike(app) installs Vike middlewares following a "sandwich approach" — it places the user's routes between Vike middlewares:
- Vike middlewares that aren't handlers run first — so that the user's routes see the context added by Vike middlewares.
- The user's routes come next.
- Vike middlewares that are handlers run last — they answer requests that the user's routes didn't answer.
Note
See also: Vike > API > vike(app)
Note
Each server adapter has tests to verify it follows the sandwich approach (packages/*/src/index.test.ts).