eidellev / inertiajs-adonisjs

280 stars 17 forks source link

[Question] How to set css classes as active on the current link. #107

Closed prpanto closed 1 year ago

prpanto commented 1 year ago

Hello, thank for this. This is the first time I use adonis and inertia. In laravel and inertia we use "route" method witch can tell the link is active, For example I want to set some classes and tell they will be active on the current url. How to implement here with adonis and inertia?

WeyIin commented 1 year ago

Check this out - https://github.com/eidellev/adonis-stardust

eidellev commented 1 year ago

@prpanto thank you :-) please see @WeyIin 's answer