diff options
-rw-r--r-- | layouts/error.vue | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/error.vue b/layouts/error.vue new file mode 100644 index 0000000..4adf83a --- /dev/null +++ b/layouts/error.vue @@ -0,0 +1,16 @@ +<template lang="pug"> + .mx-auto.w-90p.py-6(class="sm:px-6 lg:px-8 md:max-w-7xl") + section + h1.text-3xl.font-bold(class="dark:text-white") Oh no, you shall not pass! + a.cursor-pointer(class="dark:text-white hover:underline" @click="goback") Go back to your path! +</template> + +<script> +export default { + methods: { + goback() { + window.history.back(); + }, + }, +}; +</script> |