Добавить
Уведомления

Build Modern Laravel Apps Using Inertia.js - Ep 8, Active Links

Next up, we should receive active links. At the moment, if you click any of the items in the navigation bar, there isn't any visual indication that you did in fact select that link. Let's fix that by leveraging both the $page.url and $page.component properties that Inertia provides to us. Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts. Laracasts: https://laracasts.com Build Modern Laravel Apps Using Inertia.js: https://laracasts.com/series/build-modern-laravel-apps-using-inertia-js Laracasts Twitter: https://twitter.com/laracasts Jeffrey Way Twitter: https://twitter.com/jeffrey_way

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Next up, we should receive active links. At the moment, if you click any of the items in the navigation bar, there isn't any visual indication that you did in fact select that link. Let's fix that by leveraging both the $page.url and $page.component properties that Inertia provides to us. Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts. Laracasts: https://laracasts.com Build Modern Laravel Apps Using Inertia.js: https://laracasts.com/series/build-modern-laravel-apps-using-inertia-js Laracasts Twitter: https://twitter.com/laracasts Jeffrey Way Twitter: https://twitter.com/jeffrey_way

, чтобы оставлять комментарии