Nuxt/test/fixtures/basic/pages/url.vue

10 lines
134 B
Vue
Raw Normal View History

<script setup>
const url = useRequestURL()
</script>
<template>
<div>
<div>path: {{ url.pathname }}</div>
</div>
</template>