Skip to content

No hint path defined for [cookieConsent]. #165

Answered by isaacdarcilla
thomasread99 asked this question in Q&A
Discussion options

You must be logged in to vote

You can opt out adding in your blade view file using Kernel.php
So instead of adding @include('cookie-consent::index') in your blade, you can do this.

// app/Http/Kernel.php

    protected $middleware = [
       ...
        \Spatie\CookieConsent\CookieConsentMiddleware::class,
    ];

Also, the dialog won't show if cookies already accepted, so you have to clear browser caches.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@makeyourownproject
Comment options

@xjahod06
Comment options

@kirti-u
Comment options

Answer selected by thomasread99
Comment options

You must be logged in to vote
2 replies
@dsbilling
Comment options

@xevi-domenech
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants
Converted from issue

This discussion was converted from issue #164 on June 16, 2021 08:15.