1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-25 10:08:29 +00:00
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>