mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
f5a3d7968c
Co-authored-by: Daniel Roe <daniel@roe.dev>
8 lines
144 B
Vue
8 lines
144 B
Vue
<template>
|
|
<div>You should not see me</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
await navigateTo('/', { replace: true, redirectCode: 301 })
|
|
</script>
|