Dynamic component #8355
Answered
by
Renato66
Renato66
asked this question in
Questions (Nuxt 2)
Dynamic component
#8355
-
I got a blank nuxt app with this template: <component
:is="component.type"
/> the <component
:is="component.type"
/>
<ASection /> the how can I configure nuxt to render it dynamically |
Beta Was this translation helpful? Give feedback.
Answered by
Renato66
Nov 23, 2020
Replies: 1 comment
-
i needed to configure it as a global in nuxt.config.js components: [{ path: '~/components/global', global: true }, '~/components'], |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Renato66
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i needed to configure it as a global in nuxt.config.js
and put it on a global folder