- Installazione primo Sito Web del server
- Creazione prima pagina Home
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user