tighten / ziggy

Use your Laravel routes in JavaScript.
MIT License
3.91k stars 248 forks source link

[2.x] Update exports and build formats #677

Closed bakerkretzmar closed 1 year ago

bakerkretzmar commented 1 year ago

This PR updates Ziggy's build for v2 to remove the default export and the vue and react sub-paths. Ziggy now has exactly 3 named exports: route, ZiggyVue, and useRoute. The 'modern' build is also now the default/root of the package, at dist/index.js.