Replies: 5 comments 6 replies
-
I have the same errors and cannot find a solution to work. Any updates on this one? |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
You can opt out adding in your blade view file usign Kernel.php like this // app/Http/Kernel.php protected $middleware = [
...
\Spatie\CookieConsent\CookieConsentMiddleware::class,
]; |
Beta Was this translation helpful? Give feedback.
-
if this command is not working php artisan vendor:publish --provider="Spatie\CookieConsent\CookieConsentServiceProvider" --tag="cookie-consent-translations" |
Beta Was this translation helpful? Give feedback.
-
For me, this did the trick:
|
Beta Was this translation helpful? Give feedback.
-
Hi folks,
thanks for your awesome work.
I stumbled upon some errors while using this package.
case 1
using the blade tag (following the documentation)
@include('cookie-consent::index')
leads to an exceptionNo hint path defined for [cookie-consent].
After changing this to
@include('cookieConsent::index')
the exception is gone.Additionally I do not see the dialog in dev environment. Am I missing something here?
case 2
php artisan vendor:publish --provider="Spatie\CookieConsent\CookieConsentServiceProvider" --tag="cookie-consent-translations"
returns errorUnable to locate publishable resources.
- so I guess it should bephp artisan vendor:publish --provider="Spatie\CookieConsent\CookieConsentServiceProvider" --tag="lang"
regards and thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions