docs: change sample nuxt config file type to .ts (#854)

This commit is contained in:
Jonas Pfannkuche 2021-10-12 23:01:24 +02:00 committed by GitHub
parent d5127e95ac
commit 6b0af392b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({