diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 51f8882..ef68173 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -7,17 +7,19 @@ // Liste des apps import LoginPage from './Apps/Login.vue' import Inscription from "./Apps/Inscription.vue" + import Profil from "./Apps/Profil.vue" const apps = { '/login': LoginPage, - '/inscription': Inscription + '/inscription': Inscription, + '/profil': Profil } const currentPath = ref(window.location.hash) window.addEventListener('hashchange', () => { currentPath.value = window.location.hash }) - + const currentView = computed(() => { return apps[currentPath.value.slice(1) || '/'] }) @@ -26,9 +28,8 @@ const notifications=ref(i18n("app.notifications")) const settings=ref(i18n("app.settings")) const login=ref(i18n("app.login")) + const active=ref(false) - -