Files
nuxt-frontend/components/PageComponent/PageComponent.vue
Joris Slagter 791aebc346
Some checks failed
continuous-integration/drone/push Build is failing
Initial Nuxt frontend import
- Complete GGZ Ecademy Nuxt.js user portal
- Learning products browser and management
- Member management interface
- User authentication and roles
- Multi-language support (NL/EN)
- Vuex store for state management
- Component-based architecture
2025-12-02 17:48:48 +01:00

24 lines
450 B
Vue

<template>
<component :is="componentRendered" :data="componentProp.content" />
</template>
<script>
export default {
props: {
componentProp: {
type: Object
}
},
computed: {
componentRendered() {
return this.componentProp.component_type.name
? () =>
import(
`@/components/DynamicComponents/${this.componentProp.component_type.name}`
)
: null
}
}
}
</script>