From 8d5aab5b765be8cbb7b5ed9cf5d1fa4131b17f51 Mon Sep 17 00:00:00 2001 From: Oumar Barry <83463097+oumarbarry@users.noreply.github.com> Date: Fri, 26 Aug 2022 08:10:05 +0000 Subject: [PATCH] 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. --- docs/content/2.guide/5.deploy/2.static-hosting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/2.guide/5.deploy/2.static-hosting.md b/docs/content/2.guide/5.deploy/2.static-hosting.md index d85fa3da50f..6694ca61e6f 100644 --- a/docs/content/2.guide/5.deploy/2.static-hosting.md +++ b/docs/content/2.guide/5.deploy/2.static-hosting.md @@ -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({