aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/router/index.ts
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-07-12 01:28:23 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-07-12 01:28:23 -0400
commitf64955c69d91e578e580b409ba31ac4b3477da96 (patch)
tree16f01392ddf1abfea13d7d1ede3bfb0459fe8f0d /front-end/src/router/index.ts
Initial commit
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