mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
15 lines
246 B
Vue
15 lines
246 B
Vue
|
<script setup lang="ts">
|
||
|
const route = useRoute()
|
||
|
await new Promise(resolve => setTimeout(resolve, 100))
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div data-testid="foo">
|
||
|
foo: {{ $route.path }} - {{ route.path }}
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped>
|
||
|
|
||
|
</style>
|