Загрузка...

Laravel Technique: Cookie Notification - How to use the middleware

In this video, we are at part three of this cookie component. See the alternative to rendering the laravel cookie component in the laravel blade file using middleware instead of laravel blade directives.

The session.php file is essential to get this package working correctly. Make sure to keep this in mind. We then update the language text for the localization files, update tailwind css, and add a cookie svg to webpack using laravel mix.

Finally, we install alpine js for the final functionality of this laravel component.

Stick around for the next instalment of this laravel 9 tutorial, where we style the component using tailwind css and complete additional functionality using alpine.js.

🔔 SUBSCRIBE 🔔

💞 https://www.youtube.com/c/williamsk?s...

😍 FOLLOW

➡️ Twitter: https://twitter.com/willeumsk
➡️ Facebook: http://www.facebook.com/willeumsk
➡️ Instagram: https://www.instagram.com/willeumsk
➡️ TikTok: https://www.tiktok.com/@willeumsk

How to use the middleware for our cookie consent banner

0:00 | Intro
0:46 | the alternative implementation
1:28 | php session file
1:57 | adjusting text
2:40 | text localization
3:39 | tailwind updates
5:13 | cookies svg
5:36 | install alpine js
6:03 | closing remarks

⏰ RELEASE SCHEDULE ⏰

📼 New lessons bi-weekly!
📺 Monthly Series
📆 Release Days - Mondays and Wednesdays
💬 LEAVE A COMMENT 💬

Cookie Banner: How to use the middleware

Do you have any questions, tips, or ideas about using building this php laravel cookie consent banner?

Checkout this video https://www.youtube.com/watch?v=nOQyWbPO2Ds for tailwindcss update

Watch the initial setup for this spatie laravel vendor package, where we provide the groundwork for the laravel cookie consent banner using webpack, laravel mix, laravel blade directives, tailwind css , and vendor publish the assets in this laravel 9 project.

Let us know if you learned something new from this laravel tutorial in the comments section below!

🔥 ABOUT US 🔥

williamsk is an educational platform about coding, digital development, and creativity. This channel is dedicated to helping you learn by providing instructional content for beginners, developers— and enthusiasts.

You will find intuitive, manageable learning content to help you gain knowledge and understanding of development-related concepts and digital creative techniques.

We hope to get you inspired by accomplishing meaningful real-world tasks. It's time to learn something new.

🎵 MUSIC CREDIT 🎵

Song: Justhea - Feel Good
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Video Link: https://youtu.be/IVLVi_r1lq4

#laravel #tailwindcss #laraveltutorial

Видео Laravel Technique: Cookie Notification - How to use the middleware канала williamsk
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять