From 485759dfbfb13a832f89e2741a14976ae1452076 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Mon, 9 Dec 2024 12:15:48 +0100 Subject: [PATCH] docs: polish --- packages/vike-node/README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/vike-node/README.md b/packages/vike-node/README.md index 8102a11..f56b575 100644 --- a/packages/vike-node/README.md +++ b/packages/vike-node/README.md @@ -6,14 +6,13 @@ # `vike-node` > [!WARNING] -> **BETA** -> This package will have relatively frequent breaking changes +> This package is in **beta** and will have relatively frequent breaking changes. Server integration for Vike. -With this extension, your server code is transpiled with Vite. +With this extension, your server is transpiled with Vite. So that you don't need `ts-node`/`tsx` anymore. -In development, the server process is restarted when a change is detected in some of your server files. +In development, the server process is restarted when a change is detected. [Installation](#installation) [Custom `pageContext`](#custom-pagecontext) @@ -251,10 +250,6 @@ function startServer() { You can define custom [pageContext](https://vike.dev/pageContext) properties: -> [!NOTE] -> `vike-node` uses [universal-middleware](https://universal-middleware.dev/) -> and automatically adds the universal context to [`pageContext`](https://vike.dev/pageContext). - ```ts app.use( vike({