Skip to content

Commit 3c16c89

Browse files
committed
docs: update Nuxt 3 -> Nuxt or Nuxt 3+
1 parent 748bc75 commit 3c16c89

File tree

25 files changed

+49
-56
lines changed

25 files changed

+49
-56
lines changed

docs/1.getting-started/1.introduction.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Nuxt is composed of different [core packages](https://github.com/nuxt/nuxt/tree/
7676
- Command line interface: [nuxi](https://github.com/nuxt/nuxt/tree/main/packages/nuxi)
7777
- Server engine: [nitro](https://github.com/unjs/nitro)
7878
- Development kit: [@nuxt/kit](https://github.com/nuxt/nuxt/tree/main/packages/kit)
79-
- Nuxt 2 Bridge: [@nuxt/bridge](https://github.com/nuxt/bridge)
8079

8180
We recommend reading each concept to have a full vision of Nuxt capabilities and the scope of each package.
8281

docs/1.getting-started/10.deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ export default defineNuxtConfig({
8585

8686
## Hosting Providers
8787

88-
Nuxt 3 can be deployed to several cloud providers with a minimal amount of configuration:
88+
Nuxt can be deployed to several cloud providers with a minimal amount of configuration:
8989

9090
:read-more{to="/deploy"}
9191

9292
## Presets
9393

94-
In addition to Node.js servers and static hosting services, a Nuxt 3 project can be deployed with several well-tested presets and minimal amount of configuration.
94+
In addition to Node.js servers and static hosting services, a Nuxt project can be deployed with several well-tested presets and minimal amount of configuration.
9595

9696
You can explicitly set the desired preset in the [`nuxt.config.ts`](/docs/guide/directory-structure/nuxt-config) file:
9797

docs/1.getting-started/12.upgrade.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,11 @@ These options have been set to their current values for some time and we do not
480480

481481
* `respectNoSSRHeader`is implementable in user-land with [server middleware](https://github.com/nuxt/nuxt/blob/c660b39447f0d5b8790c0826092638d321cd6821/packages/nuxt/src/core/runtime/nitro/no-ssr.ts#L8-L9)
482482

483-
## Nuxt 2 vs Nuxt 3
483+
## Nuxt 2 vs Nuxt 3+
484484

485485
In the table below, there is a quick comparison between 3 versions of Nuxt:
486486

487-
Feature / Version | Nuxt 2 | Nuxt Bridge | Nuxt 3
487+
Feature / Version | Nuxt 2 | Nuxt Bridge | Nuxt 3+
488488
-------------------------|-----------------|------------------|---------
489489
Vue | 2 | 2 | 3
490490
Stability | 😊 Stable | 😊 Stable | 😊 Stable
@@ -502,17 +502,17 @@ Vite | ⚠️ Partial | 🚧 Partial | ✅
502502
Nuxi CLI | ❌ Old | ✅ nuxi | ✅ nuxi
503503
Static sites | ✅ | ✅ | ✅
504504

505-
## Nuxt 2 to Nuxt 3
505+
## Nuxt 2 to Nuxt 3+
506506

507-
The migration guide provides a step-by-step comparison of Nuxt 2 features to Nuxt 3 features and guidance to adapt your current application.
507+
The migration guide provides a step-by-step comparison of Nuxt 2 features to Nuxt 3+ features and guidance to adapt your current application.
508508

509509
::read-more{to="/docs/migration/overview"}
510510
Check out the **guide to migrating from Nuxt 2 to Nuxt 3**.
511511
::
512512

513513
## Nuxt 2 to Nuxt Bridge
514514

515-
If you prefer to progressively migrate your Nuxt 2 application to Nuxt 3, you can use Nuxt Bridge. Nuxt Bridge is a compatibility layer that allows you to use Nuxt 3 features in Nuxt 2 with an opt-in mechanism.
515+
If you prefer to progressively migrate your Nuxt 2 application to Nuxt 3, you can use Nuxt Bridge. Nuxt Bridge is a compatibility layer that allows you to use Nuxt 3+ features in Nuxt 2 with an opt-in mechanism.
516516

517517
::read-more{to="/docs/bridge/overview"}
518518
**Migrate from Nuxt 2 to Nuxt Bridge**

docs/1.getting-started/2.installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ Well done! A browser window should automatically open for <http://localhost:3000
100100

101101
## Next Steps
102102

103-
Now that you've created your Nuxt 3 project, you are ready to start building your application.
103+
Now that you've created your Nuxt project, you are ready to start building your application.
104104

105105
:read-more{title="Nuxt Concepts" to="/docs/guide/concepts"}

docs/1.getting-started/6.data-fetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ onMounted(() => console.log(document.cookie))
494494

495495
## Options API support
496496

497-
Nuxt 3 provides a way to perform `asyncData` fetching within the Options API. You must wrap your component definition within `defineNuxtComponent` for this to work.
497+
Nuxt provides a way to perform `asyncData` fetching within the Options API. You must wrap your component definition within `defineNuxtComponent` for this to work.
498498

499499
```vue
500500
<script>

docs/1.getting-started/8.error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Learn how to catch and handle errors in Nuxt.'
44
navigation.icon: i-ph-bug-beetle-duotone
55
---
66

7-
Nuxt 3 is a full-stack framework, which means there are several sources of unpreventable user runtime errors that can happen in different contexts:
7+
Nuxt is a full-stack framework, which means there are several sources of unpreventable user runtime errors that can happen in different contexts:
88

99
- Errors during the Vue rendering lifecycle (SSR & CSR)
1010
- Server and client startup errors (SSR + CSR)

docs/1.getting-started/9.layers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Nuxt provides a powerful system that allows you to extend the defau
44
navigation.icon: i-ph-stack-duotone
55
---
66

7-
One of the core features of Nuxt 3 is the layers and extending support. You can extend a default Nuxt application to reuse components, utils, and configuration. The layers structure is almost identical to a standard Nuxt application which makes them easy to author and maintain.
7+
One of the core features of Nuxt is the layers and extending support. You can extend a default Nuxt application to reuse components, utils, and configuration. The layers structure is almost identical to a standard Nuxt application which makes them easy to author and maintain.
88

99
## Use Cases
1010

docs/2.guide/1.concepts/2.vuejs-development.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Most applications need multiple pages and a way to navigate between them. This i
3939

4040
## Differences with Nuxt 2 / Vue 2
4141

42-
Nuxt 3 is based on Vue 3. The new major Vue version introduces several changes that Nuxt takes advantage of:
42+
Nuxt 3+ is based on Vue 3. The new major Vue version introduces several changes that Nuxt takes advantage of:
4343

4444
- Better performance
4545
- Composition API
@@ -89,15 +89,15 @@ const increment = () => count.value++
8989
</script>
9090
```
9191

92-
The goal of Nuxt 3 is to provide a great developer experience around the Composition API.
92+
The goal of Nuxt is to provide a great developer experience around the Composition API.
9393

94-
- Use auto-imported [Reactivity functions](https://vuejs.org/api/reactivity-core.html) from Vue and Nuxt 3 [built-in composables](/docs/api/composables/use-async-data).
94+
- Use auto-imported [Reactivity functions](https://vuejs.org/api/reactivity-core.html) from Vue and Nuxt [built-in composables](/docs/api/composables/use-async-data).
9595
- Write your own auto-imported reusable functions in the [`composables/` directory](/docs/guide/directory-structure/composables).
9696

9797
### TypeScript Support
9898

99-
Both Vue 3 and Nuxt 3 are written in TypeScript. A fully typed codebase prevents mistakes and documents APIs usage. This doesn’t mean that you have to write your application in TypeScript to take advantage of it. With Nuxt 3, you can opt-in by renaming your file from `.js` to `.ts` , or add `<script setup lang="ts">` in a component.
99+
Both Vue 3 and Nuxt 3+ are written in TypeScript. A fully typed codebase prevents mistakes and documents APIs usage. This doesn’t mean that you have to write your application in TypeScript to take advantage of it. With Nuxt 3, you can opt-in by renaming your file from `.js` to `.ts` , or add `<script setup lang="ts">` in a component.
100100

101101
::read-more{to="/docs/guide/concepts/typescript"}
102-
Read the details about TypeScript in Nuxt 3
102+
Read the details about TypeScript in Nuxt
103103
::

docs/2.guide/1.concepts/3.rendering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Hybrid rendering allows different caching rules per route using **Route Rules**
105105

106106
Previously every route/page of a Nuxt application and server must use the same rendering mode, universal or client-side. In various cases, some pages could be generated at build time, while others should be client-side rendered. For example, think of a content website with an admin section. Every content page should be primarily static and generated once, but the admin section requires registration and behaves more like a dynamic application.
107107

108-
Nuxt 3 includes route rules and hybrid rendering support. Using route rules you can define rules for a group of nuxt routes, change rendering mode or assign a cache strategy based on route!
108+
Nuxt includes route rules and hybrid rendering support. Using route rules you can define rules for a group of nuxt routes, change rendering mode or assign a cache strategy based on route!
109109

110110
Nuxt server will automatically register corresponding middleware and wrap routes with cache handlers using [Nitro caching layer](https://nitro.unjs.io/guide/cache).
111111

@@ -168,7 +168,7 @@ Note that Hybrid Rendering is not available when using [`nuxt generate`](/docs/a
168168

169169
## Edge-Side Rendering
170170

171-
Edge-Side Rendering (ESR) is a powerful feature introduced in Nuxt 3 that allows the rendering of your Nuxt application closer to your users via edge servers of a Content Delivery Network (CDN). By leveraging ESR, you can ensure improved performance and reduced latency, thereby providing an enhanced user experience.
171+
Edge-Side Rendering (ESR) is a powerful feature introduced in Nuxt that allows the rendering of your Nuxt application closer to your users via edge servers of a Content Delivery Network (CDN). By leveraging ESR, you can ensure improved performance and reduced latency, thereby providing an enhanced user experience.
172172

173173
With ESR, the rendering process is pushed to the 'edge' of the network - the CDN's edge servers. Note that ESR is more a deployment target than an actual rendering mode.
174174

docs/2.guide/1.concepts/4.server-engine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Server Engine
3-
description: 'Nuxt 3 is powered by a new server engine: Nitro.'
3+
description: 'Nuxt is powered by a new server engine: Nitro.'
44
---
55

66
While building Nuxt 3, we created a new server engine: [Nitro](https://nitro.unjs.io).
@@ -53,7 +53,7 @@ Nitro produces a standalone server dist that is independent of `node_modules`.
5353

5454
The server in Nuxt 2 is not standalone and requires part of Nuxt core to be involved by running `nuxt start` (with the [`nuxt-start`](https://www.npmjs.com/package/nuxt-start) or [`nuxt`](https://www.npmjs.com/package/nuxt) distributions) or custom programmatic usage, which is fragile and prone to breakage and not suitable for serverless and service-worker environments.
5555

56-
Nuxt 3 generates this dist when running `nuxt build` into a [`.output`](/docs/guide/directory-structure/output) directory.
56+
Nuxt generates this dist when running `nuxt build` into a [`.output`](/docs/guide/directory-structure/output) directory.
5757

5858
The output contains runtime code to run your Nuxt server in any environment (including experimental browser service workers!) and serve your static files, making it a true hybrid framework for the JAMstack. In addition, Nuxt implements a native storage layer, supporting multi-source drivers and local assets.
5959

0 commit comments

Comments
 (0)