Nuxt の Router を利用した状態管理
<template>
<c-input state-src="query://basic" />
<c-label state-src="query://basic" />
</template>
<template>
<c-input state-src="hash://" />
<c-label state-src="hash://" />
</template>
<script setup>
</script>
<template>
<c-link
state-src="path://2"
state-to="state"
>
Set to 'state'
</c-link>
<c-label state-src="path://2" />
</template>
<script setup>
</script>