diff --git a/README.md b/README.md index a8fd481..2f2db6a 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ CookiesConsent::register(new CookieGroupDefinition( #### Using the Default Cookie Banner -You can use the default cookie banner included with this package. +You can use the default cookie banner included with this package. It requires js-cookie, Alpine and tailwindcss. ##### js-cookie Requirement @@ -247,6 +247,20 @@ Simply put the banner component `` at the end of yo ``` +##### tailwindcss Requirement + +The default banner is styled with tailwindcss. You should add the following paths to your tailwind config file: + +```js +export default { + content: [ + // ... + "./vendor/elegantly/laravel-cookies-consent/resources/views/*.blade.php", + ], + // ... +}; +``` + #### Customizing the Default Component You can customize the default component by publishing the views: