Nuxt/docs/content/2.guide/3.directory-structure/18.nuxt.config.md

21 lines
395 B
Markdown
Raw Normal View History

---
icon: IconFile
title: nuxt.config.ts
head.title: Nuxt configuration file
---
# Nuxt configuration file
Nuxt can be easily configured with a single `nuxt.config` file, which can have either a `.js`, `.ts` or `.mjs` extension.
```ts
import { defineNuxtConfig } from 'nuxt3'
export default defineNuxtConfig({
// My Nuxt config
})
```
::ReadMore{link="/api/configuration/nuxt.config"}
::