Nuxt/test/fixtures/bridge/layouts/default.vue

18 lines
240 B
Vue
Raw Normal View History

<template>
<div>
<Nuxt />
{{ route.path }}
</div>
</template>
<script>
import { useRoute } from '#app'
export default {
setup () {
const route = useRoute()
console.log(route.path)
return { route }
}
}
</script>