mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: update nuxt.config
introduction (#2039)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
This commit is contained in:
parent
9efdf43eec
commit
4055024e5f
@ -6,12 +6,14 @@ head.title: Nuxt configuration file
|
||||
|
||||
# Nuxt configuration file
|
||||
|
||||
Nuxt can be configured easily with one single file, called `nuxt.config`, it supports both `.js` and `.ts` extension.
|
||||
Nuxt can be easily configured with a single `nuxt.config` file, which can have either a `.js`, `.ts` or `.mjs` extension.
|
||||
|
||||
```ts
|
||||
export default {
|
||||
import { defineNuxtConfig } from 'nuxt3'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
// My Nuxt config
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
Learn more about all the different config properties
|
||||
|
Loading…
Reference in New Issue
Block a user