MainPage dynamique (profile)
This commit is contained in:
@@ -8,7 +8,7 @@ import HelpAndContact from '@/views/tos/HelpAndContact.vue'
|
||||
import TermsAndConditions from '@/views/tos/TermsAndConditions.vue'
|
||||
import Transactions from '@/views/tos/Transactions.vue'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import UserProfile from '../layouts/UserProfile.vue'
|
||||
import MainPage from '../layouts/MainPage.vue'
|
||||
import LoginView from '../views/LoginView.vue'
|
||||
import PaymentCompleted from '../views/PayementCompleted.vue'
|
||||
import SignupView from '../views/SignupView.vue'
|
||||
@@ -136,7 +136,7 @@ const routes = [
|
||||
{
|
||||
path: '/:username',
|
||||
name: 'user-profile',
|
||||
component: UserProfile
|
||||
component: MainPage
|
||||
},
|
||||
|
||||
{
|
||||
@@ -152,6 +152,7 @@ const router = createRouter({
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
return { top: 0 };
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
Reference in New Issue
Block a user