aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/router/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/router/index.ts')
-rw-r--r--front-end/src/router/index.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/front-end/src/router/index.ts b/front-end/src/router/index.ts
new file mode 100644
index 0000000..d5685b5
--- /dev/null
+++ b/front-end/src/router/index.ts
@@ -0,0 +1,8 @@
+import { createRouter, createWebHistory } from 'vue-router'
+
+import routes from '~pages'
+
+export default createRouter({
+ history: createWebHistory(import.meta.env.BASE_URL),
+ routes
+}) \ No newline at end of file