mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
docs: remove redundant newlines and indentations (#29190)
This commit is contained in:
parent
a28e00c0da
commit
3d547ea987
@ -4,7 +4,6 @@ description: 'Learn how to upgrade to the latest Nuxt version.'
|
||||
navigation.icon: i-ph-arrow-circle-up
|
||||
---
|
||||
|
||||
|
||||
## Upgrading Nuxt
|
||||
|
||||
### Latest release
|
||||
@ -467,7 +466,7 @@ We have already proactively migrated the public Nuxt modules which we are aware
|
||||
|
||||
However, if you are a module author using the `builder:watch` hook and wishing to remain backwards/forwards compatible, you can use the following code to ensure that your code works the same in both Nuxt v3 and Nuxt v4:
|
||||
|
||||
```diff
|
||||
```diff
|
||||
+ import { relative, resolve } from 'node:fs'
|
||||
// ...
|
||||
nuxt.hook('builder:watch', async (event, path) => {
|
||||
|
@ -4,7 +4,6 @@ description: Nuxt is configured with sensible defaults to make you productive.
|
||||
navigation.icon: i-ph-gear
|
||||
---
|
||||
|
||||
|
||||
By default, Nuxt is configured to cover most use cases. The [`nuxt.config.ts`](/docs/guide/directory-structure/nuxt-config) file can override or extend this default configuration.
|
||||
|
||||
## Nuxt Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user