From 1605bd66ab97a206e4698954d47b10d87b09ec2d Mon Sep 17 00:00:00 2001
From: Ntkskwk <natsukawa247@outlook.com>
Date: Tue, 3 Sep 2024 00:03:19 +0800
Subject: feat: add router-guards for site

---
 site/src/views/404.vue | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 site/src/views/404.vue

(limited to 'site/src/views/404.vue')

diff --git a/site/src/views/404.vue b/site/src/views/404.vue
new file mode 100644
index 0000000..7462697
--- /dev/null
+++ b/site/src/views/404.vue
@@ -0,0 +1,18 @@
+<template>
+    <div>404</div>
+</template>
+
+<script lang='ts'>
+export default {
+    setup() {
+        return {}
+    },
+    beforeCreate() {
+        location.href = '/'
+    }
+}
+</script>
+
+<style lang='scss' scoped>
+
+</style>
-- 
cgit v1.2.3-70-g09d2

