- Installazione primo Sito Web del server

- Creazione prima pagina Home
This commit is contained in:
Surya Paolo
2023-12-09 00:19:48 +01:00
parent 7e17869d3e
commit 2b6411eb77
27 changed files with 152 additions and 50 deletions

View File

@@ -8,6 +8,7 @@ import { LandingFooter } from '@/components/LandingFooter'
import { CImgTitle } from '../CImgTitle/index'
import { CTitle } from '../CTitle/index'
import { useRouter } from 'vue-router'
export default defineComponent({
name: 'CMyPage',
@@ -51,10 +52,12 @@ export default defineComponent({
const mypath = toRef(props, 'mypath')
const globalStore = useGlobalStore()
const $router = useRouter()
const load = async (): Promise<void> => {
// console.log('load', mypath.value)
if (mypath.value !== '') rec.value = await globalStore.loadPage('/' + mypath.value, 'cmypage')
}
watch(() => props.mypath, async (to: string, from: string) => {