summaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
authorDaniel Andreas Wang <danielaw@tilde.club>2026-03-12 18:31:40 +0100
committerDaniel Andreas Wang <danielaw@tilde.club>2026-03-12 18:31:40 +0100
commitad9c2429def17cd73d0cc22837ef278abcd4f64a (patch)
treea45f23c88828feeaebae33bc7da04bbe606acfef /src/router/index.ts
first commit
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
new file mode 100644
index 0000000..0f02263
--- /dev/null
+++ b/src/router/index.ts
@@ -0,0 +1,15 @@
+import { createRouter, createWebHistory } from 'vue-router'
+import HomeView from '../views/HomeView.vue'
+
+const router = createRouter({
+ history: createWebHistory()
+ routes: [
+ {
+ path: '/',
+ name: 'home',
+ component: HomeView,
+ },
+ ],
+})
+
+export default router