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

Commit

Permalink
docs(deploy): update information
Browse files Browse the repository at this point in the history
As tried, when you want to generate client-side only output, even with "ssr : false" in nuxt.config.ts,
"nuxi build" doesn't generate the correct output, it still generates node ssr output,
but nuxi generate does the job.
  • Loading branch information
oumarbarry committed Aug 26, 2022
1 parent b87c365 commit 8d5aab5
Showing 1 changed file with 1 addition and 1 deletion.
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.

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

0 comments on commit 8d5aab5

Please sign in to comment.