Nuxt/test/fixtures/basic/components/ComponentUsingCookie.vue

15 lines
250 B
Vue
Raw Normal View History

<script setup>
import { useCookieManager } from '../composables/cookie-manager'
const { showCookieBanner } = useCookieManager()
</script>
<template>
<div
v-if="showCookieBanner"
id="child-banner"
>
child banner
</div>
</template>