Level 102
You can filter them in your config file https://github.com/tighten/ziggy#filtering-routes
Assuming your Nova routes are /nova
return [
'except' => ['nova.*', 'horizon.*'],
];
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I created a new app by using laravel 9 + breeze inertia (SSR). And also install Nova as the backed of this site.
Now, when I load the front web page, if check the source of the page, you can see all Nova routs are there, they are added to ziggy routes array to pass to the front end..
How to hide this Nova routes, exclude them from the ziggy routes array ?
Thanks.
You can filter them in your config file https://github.com/tighten/ziggy#filtering-routes
Assuming your Nova routes are /nova
return [
'except' => ['nova.*', 'horizon.*'],
];
Please or to participate in this conversation.