ziggy-js 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/js/index.d.ts +12 -0
package/package.json
CHANGED
package/src/js/index.d.ts
CHANGED
|
@@ -170,3 +170,15 @@ export function route(
|
|
|
170
170
|
absolute?: boolean,
|
|
171
171
|
config?: Config,
|
|
172
172
|
): Router;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Ziggy's Vue plugin.
|
|
176
|
+
*/
|
|
177
|
+
export const ZiggyVue: {
|
|
178
|
+
install(app: any, options?: Config): void;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Ziggy's React hook.
|
|
183
|
+
*/
|
|
184
|
+
export function useRoute(defaultConfig?: Config): typeof route;
|