components
components copied to clipboard
Need to manually import a nested component
I have two components:
components/
- ComponentA.vue
- ComponentB.vue
And if I want ComponentA to use ComponentB, it seems I still need to manually import ComponentB. Is this expected, or am I doing something wrong?
the same here !!! :/
Hi. Would you please try with nuxt 2.15?
@pi0 could you help me
i get this error
Unknown custom element: <Searchbar> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
what name ?
i have this structure
- components
- Header
- Header.vue
- Searbar.vue
- Header
and inside Header.vue i include <Searchbar />
but its not working anymore with 2.15 it worked fine with 2.14.12
EDIT: ah this works <HeaderSearchbar />
See https://github.com/nuxt/components/issues/153