mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: change sample nuxt config file type to .ts (#854)
This commit is contained in:
parent
d5127e95ac
commit
6b0af392b4
@ -57,7 +57,7 @@ Please make sure to avoid any CommonJS syntax such as `module.exports`, `require
|
||||
|
||||
You can use static `import`, dynamic `import()` and `export default` instead. Using TypeScript by renaming to `nuxt.config.ts` is also possible and recommended.
|
||||
|
||||
```ts [nuxt.config.js]
|
||||
```ts [nuxt.config.ts]
|
||||
import { defineNuxtConfig } from '@nuxt/bridge'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
|
Loading…
Reference in New Issue
Block a user