aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/site/src/views/404.vue
diff options
context:
space:
mode:
authorNtkskwk <natsukawa247@outlook.com>2024-09-03 00:03:19 +0800
committerNtkskwk <natsukawa247@outlook.com>2024-09-03 00:03:19 +0800
commit1605bd66ab97a206e4698954d47b10d87b09ec2d (patch)
tree8dd421ccbf3b1bb6b273e11644af9f830484a666 /site/src/views/404.vue
parente960ff10b9e9a0d8c9842d23aa278d524b7de124 (diff)
downloadHydroRoll-1605bd66ab97a206e4698954d47b10d87b09ec2d.tar.gz
HydroRoll-1605bd66ab97a206e4698954d47b10d87b09ec2d.zip
feat: add router-guards for site
Diffstat (limited to 'site/src/views/404.vue')
-rw-r--r--site/src/views/404.vue18
1 files changed, 18 insertions, 0 deletions
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>