404.vue 160 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 <template> <Error @error-click="push('/')" /> </template> <script lang="ts" setup> defineOptions({ name: 'Error404' }) const { push } = useRouter() </script>