-
|
I always got this warning and never load my components when using that new syntax, using onMounted hook as compotion api: when using mounted as optional api works fine, I just wanted to use that syntax I think it looks clean |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Apr 22, 2023
Replies: 1 comment
-
|
It works fine, some of Nova's internal component use composition API too. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jquirogaa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

https://github.com/laravel/nova-dusk-suite/blob/master/nova-components/SidebarTool/resources/js/pages/Tool.vue
It works fine, some of Nova's internal component use composition API too.