tighten / ziggy

Use your Laravel routes in JavaScript.
MIT License
3.83k stars 247 forks source link

Feature: Add ```route().queryParams``` to get only query params without laravel route params #742

Closed peter-emad99 closed 1 month ago

peter-emad99 commented 4 months ago

Description

currently route().params method get all route params .. including the laravel route params in some situations, we need to access only route query params

Alternatives

the only way to get do this now with Browser Url or UrlSearchParams api but it's bit different ..because route() use qs under the hood that has different params parsing mechanism