-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e05b0f8
commit 83325c5
Showing
2 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
import { createRouter, createWebHistory } from 'vue-router' | ||
import HomeView from '../views/HomeView.vue' | ||
import WorkExperienceView from '../views/WorkExperienceView.vue' | ||
import ProjectsView from '../views/ProjectsView.vue' | ||
import EducationView from '../views/EducationView.vue' | ||
import ExtraActivitiesView from '../views/ExtraActivitiesView.vue' | ||
import { createRouter, createWebHashHistory } from 'vue-router'; | ||
import HomeView from '../views/HomeView.vue'; | ||
import WorkExperienceView from '../views/WorkExperienceView.vue'; | ||
import ProjectsView from '../views/ProjectsView.vue'; | ||
import EducationView from '../views/EducationView.vue'; | ||
import ExtraActivitiesView from '../views/ExtraActivitiesView.vue'; | ||
|
||
const router = createRouter({ | ||
history: createWebHistory(import.meta.env.BASE_URL), | ||
history: createWebHashHistory(), | ||
routes: [ | ||
{ | ||
path: '/', | ||
name: 'home', | ||
component: HomeView | ||
component: HomeView, | ||
}, | ||
{ | ||
path: '/work-experience', | ||
name: 'work-experience', | ||
component: WorkExperienceView | ||
component: WorkExperienceView, | ||
}, | ||
{ | ||
path: '/projects', | ||
name: 'projects', | ||
component: ProjectsView | ||
component: ProjectsView, | ||
}, | ||
{ | ||
path: '/education', | ||
name: 'education', | ||
component: EducationView | ||
component: EducationView, | ||
}, | ||
{ | ||
path: '/extra-activities', | ||
name: 'extra-activities', | ||
component: ExtraActivitiesView | ||
} | ||
] | ||
}) | ||
component: ExtraActivitiesView, | ||
}, | ||
], | ||
}); | ||
|
||
export default router | ||
export default router; |