Skip to content

Commit

Permalink
docs: polish
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Dec 9, 2024
1 parent ecc547e commit 485759d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/vike-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 485759d

Please sign in to comment.