Thanks to visit codestin.com
Credit goes to github.com

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

Commit 8d5aab5

Browse files
authored
docs(deploy): update information
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.
1 parent b87c365 commit 8d5aab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/2.guide/5.deploy/2.static-hosting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npx nuxi generate
1919

2020
## Client-side Only Rendering
2121

22-
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.
22+
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.
2323

2424
```ts [nuxt.config.ts|js]
2525
defineNuxtConfig({

0 commit comments

Comments
 (0)