mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
docs(deploy): update command for csr prerendering (#6966)
This commit is contained in:
parent
1e5aa85062
commit
e098cf03f1
@ -19,7 +19,7 @@ npx nuxi generate
|
|||||||
|
|
||||||
## Client-side Only Rendering
|
## 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.
|
||||||
|
|
||||||
```ts [nuxt.config.ts|js]
|
```ts [nuxt.config.ts|js]
|
||||||
defineNuxtConfig({
|
defineNuxtConfig({
|
||||||
|
Loading…
Reference in New Issue
Block a user