0👍
You should use slots, as they provide more control.
If you absolutely can’t do that because stuff is loaded from a file, database or otherwise fetched from API – you can look into h()
and compile()
– How I can render a component from a string with vue 3?
- [Vuejs]-Vue 3 v-model does not update value within an array
- [Vuejs]-Webpack.mix.js file separate module wise but not generating files in public folder
Source:stackexchange.com