Web Editor home made

This commit is contained in:
Surya Paolo
2022-11-17 08:10:43 +01:00
parent 711f1b515d
commit 495abc33be
77 changed files with 1742 additions and 1771 deletions

View File

@@ -19,14 +19,14 @@ export default defineComponent({
const { setmeta } = MixinMetaTags()
async function created() {
rec.value = await globalStore.loadPage(route.path)
rec.value = await globalStore.loadPage(route.path, 'mypage.ts')
// console.log('MyPage created', rec.value)
// console.log('mounted', this.rec)
}
watch(path, async (to: string, from: string) => {
// console.log('watch path', path)
console.log('watch path', to, from)
rec.value = await globalStore.loadPage(to)
// console.log('path change', rec.value)
})