dargmuesli / nuxt-cookie-control

A highly configurable cookie banner for Nuxt.
MIT License
242 stars 45 forks source link

fix(components): remove unnecessary export in CookieControl #147

Open Willo0ow opened 1 year ago

Willo0ow commented 1 year ago

📚 Description

An export statement should not appear within a <script setup></script> tag. The export causing problems is in CookieControl.vue component. Since the interface that is exported in this component is not imported anywhere, I just removed the export part.

Vue 3 docs on declaring named exports inside script setup

Resolves #146

📝 Checklist