3👍
✅
You could use a dynamic component
instead it will load your select component name like this example
<component :is="component_name"></component>
and inside your data add the variable
data(){
return {
component_name: 'home'
}
}
For more info check the docs here
Source:stackexchange.com