working on plugin pages

This commit is contained in:
booploops 2022-03-08 02:26:47 -08:00
parent 10435d5b7c
commit bd4a2e7d27
4 changed files with 40 additions and 2 deletions

View file

@ -0,0 +1,22 @@
<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>