Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs(deploy): update command for csr prerendering #6966

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/2.static-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ npx nuxi generate

## Client-side Only Rendering

If you don't want to prerender your routes, another way of using static hosting is to set the `ssr` property to `false` in the `nuxt.config` file. The `nuxi build` command will then output an `index.html` entrypoint like a classic client-side Vue.js application.
If you don't want to prerender your routes, another way of using static hosting is to set the `ssr` property to `false` in the `nuxt.config` file. The `nuxi generate` command will then output an `index.html` entrypoint like a classic client-side Vue.js application.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: Actually nuxi build does the same to add pretender SPA routes. generate enables crawler only. But generate seem better for usage example here πŸ‘πŸΌ


```ts [nuxt.config.ts|js]
defineNuxtConfig({
Expand Down