eidellev / inertiajs-adonisjs

279 stars 17 forks source link

how can get route info? #66

Closed hasib-devs closed 2 years ago

hasib-devs commented 2 years ago

If you're using Laravel, the Ziggy library does this for you automatically via a global route() function. If you're using Ziggy with Vue, it's helpful to make this function available as a custom $route property so you can use it directly in your templates.

How can I do exact same thing in Adonis project?

eidellev commented 2 years ago

Hi @hasib-workspacify For adonis you have a similar library called stardust