doc: fix deno preview command (#5464)

This commit is contained in:
李瑞丰 2022-11-24 16:52:22 +08:00 committed by GitHub
parent 6a1e4ca02c
commit d79e9d73a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,7 +159,7 @@ export default defineConfig({
## Examples
The [Astro Deno](https://github.com/withastro/astro/tree/main/examples/deno) example includes a `preview:deno` command that runs the entry script directly. Run `npm run build` then `npm run preview:deno` to run the production deno server.
The [Astro Deno](https://github.com/withastro/astro/tree/main/examples/deno) example includes a `preview` command that runs the entry script directly. Run `npm run build` then `npm run preview` to run the production deno server.
## Troubleshooting