useCurrentPage
Get the current page from the store. The composable returns a computed property.
Requires the middleware option to be enabled.
Usage
vue
<script setup lang="ts">
const page = useCurrentPage()
const nodeName = page.value.nodeName
</script>