mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: added link to opting in to nuxt 4 page
This commit is contained in:
parent
d2540e45d0
commit
dc229914c7
@ -37,6 +37,8 @@ export default function capitalize (input: string) {
|
||||
|
||||
If you have set `compatibilityVersion: 4` in your `nuxt.config.ts`, you can use the auto-imported functions in the `app/` directory. This is part of Nuxt's progressive compatibility features preparing for version 4.
|
||||
|
||||
If you have [set `compatibilityVersion: 4` in your `nuxt.config.ts`](https://nuxt.com/docs/getting-started/upgrade#opting-in-to-nuxt-4), you can use the auto-imported functions in the `app/` directory. This is part of Nuxt's progressive compatibility features preparing for version 4.
|
||||
|
||||
```vue [app.vue]
|
||||
<script setup lang="ts">
|
||||
const hello = capitalize('hello')
|
||||
|
Loading…
Reference in New Issue
Block a user