A simple, customizable, minimal setup cookie plugin that allows your users to select which cookies to accept or decline.
npm install @dunks1980/cookiemunchjavascript
npm i @dunks1980/cookiemunch --save
`
As a custom element:
Add the following element and script tag to the body of your web page.
The custom element option is best for preventing CSS on the page interfering with Cookiemunch's CSS.
`html
`
Without package manager:
Add the following script and style tags inside the head of your web page.
`html
`
Optional themes:
`html
`
Boilderplate settings:
This code should run after Cookiemunch scripts have loaded.
Settings are optional, tweak to your needs.
`html
``