mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
15 lines
250 B
Vue
15 lines
250 B
Vue
<script setup>
|
|
import { useCookieManager } from '../composables/cookie-manager'
|
|
|
|
const { showCookieBanner } = useCookieManager()
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
v-if="showCookieBanner"
|
|
id="child-banner"
|
|
>
|
|
child banner
|
|
</div>
|
|
</template>
|