<script>
    Vue.component('plugin-renderer', {
        /*html*/
        template: `
            <component :is="getPage()"></component>
        `,
        data: function () {
            return {
                app: this.$root,
            }
        },
        props: {},
        mounted() { 
        },
        methods: {
            getPage() {
                return this.$root.pluginPages.page
            }
        },
    }
    );
</script>