Replies: 1 comment
-
I think maybe just installing the package and then extending it with a Vue.js Component might be the easiest approach for Intertia, e.g. sample Yes, No, although it could be modified pretty easily: resources/js/Components/CookieConsentBanner.vue
You can decide whether or not you want to encrypt the cookie, and disable that in bootstrap/app.php:
In /app/Http/Middleware/HandleInertiaRequests.php:
and maybe additionally the value if you want that. and then in the web.php routes: ``
})->name('cookie-consent');
|
Beta Was this translation helpful? Give feedback.
-
Is there a package for the Inertia Jetstream Stack ?
Beta Was this translation helpful? Give feedback.
All reactions