mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
cad4edd5a3
* fix(nuxt): respect baseurl when redirecting (and universal router) * test: add test case for redirect
8 lines
125 B
Vue
8 lines
125 B
Vue
<template>
|
|
<div>You should not see me</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
await navigateTo('/', { replace: true })
|
|
</script>
|