mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
docs: remove stable release warning regarding options api (#9186)
This commit is contained in:
parent
e85e3ab6e5
commit
fdc35aabb6
@ -212,10 +212,6 @@ export default defineNuxtComponent({
|
||||
</script>
|
||||
```
|
||||
|
||||
::alert{type=warning}
|
||||
Options API support for `asyncData` may well change before the stable release of Nuxt 3.
|
||||
::
|
||||
|
||||
::Alert
|
||||
Using `<script setup lang="ts">` is the recommended way of declaring Vue components in Nuxt 3.
|
||||
::
|
||||
|
@ -7,10 +7,6 @@ description: defineNuxtComponent() is a helper function for defining type safe c
|
||||
|
||||
`defineNuxtComponent()` is a helper function for defining type safe Vue components using options API similar to [defineComponent()](https://vuejs.org/api/general.html#definecomponent). `defineNuxtComponent()` wrapper also adds support for `asyncData` and `head` component options.
|
||||
|
||||
::alert{type=warning}
|
||||
Options API support for `asyncData` and `head` may well change before the stable release of Nuxt 3.
|
||||
::
|
||||
|
||||
::Alert
|
||||
Using `<script setup lang="ts">` is the recommended way of declaring Vue components in Nuxt 3.
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user