-
Notifications
You must be signed in to change notification settings - Fork 1
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
40c1b7e
commit 839e1f0
Showing
13 changed files
with
79 additions
and
71 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
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,31 +1,31 @@ | ||
import { createRouter, createWebHistory } from 'vue-router' | ||
import MapView from '../views/MapView.vue' | ||
import TableauView from '../views/TableauView.vue' | ||
import QuestionsView from '../views/QuestionsView.vue' | ||
import { createRouter, createWebHistory } from "vue-router"; | ||
import MapView from "../views/MapView.vue"; | ||
import QuestionsView from "../views/QuestionsView.vue"; | ||
import TableauView from "../views/TableauView.vue"; | ||
|
||
const router = createRouter({ | ||
history: createWebHistory('/terrains-connus/'), | ||
routes: [ | ||
{ | ||
path: '/', | ||
redirect: '/carte' | ||
}, | ||
{ | ||
path: '/carte', | ||
name: 'carte', | ||
component: MapView | ||
}, | ||
{ | ||
path: '/tableau', | ||
name: 'tableau', | ||
component: TableauView | ||
}, | ||
{ | ||
path: '/questions', | ||
name: 'questions', | ||
component: QuestionsView | ||
} | ||
] | ||
}) | ||
history: createWebHistory("/terrains-connus/"), | ||
routes: [ | ||
{ | ||
path: "/", | ||
redirect: "/carte", | ||
}, | ||
{ | ||
path: "/carte", | ||
name: "carte", | ||
component: MapView, | ||
}, | ||
{ | ||
path: "/tableau", | ||
name: "tableau", | ||
component: TableauView, | ||
}, | ||
{ | ||
path: "/questions", | ||
name: "questions", | ||
component: QuestionsView, | ||
}, | ||
], | ||
}); | ||
|
||
export default router | ||
export default router; |
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
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
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