UNPKG

@rzl-zone/ziggy-route

Version:

Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.

35 lines (32 loc) 1.25 kB
/*! * ==================================================== * Rzl Ziggy-Route. * ---------------------------------------------------- * Version: 0.0.15. * Author: Rizalvin Dwiky. * Repository: https://github.com/rzl-zone/ziggy-route. * ==================================================== */ import { App, ComponentOptions } from 'vue'; import { C as Config } from '../index-BWEFzAgA.js'; interface Vue2CompatApp { version: string; mixin: (m: ComponentOptions) => void; [key: string]: any; } type VueApp = App | Vue2CompatApp; /** ------------------------------------------------------- * * ***Vue Plugin of Rzl **Ziggy Route**.*** * ------------------------------------------------------- * **Rzl **Ziggy Route** includes a Vue plugin to make it easy to use the `route()` helper throughout your Vue app.** * * @see [**More docs use with **Vue****](https://github.com/rzl-zone/ziggy-route?tab=readme-ov-file#vue) */ declare const rzlZiggyVue: { /** ------------------------------------------------------- * * ***Rzl **Ziggy Route** Install Route to Vue.*** * ------------------------------------------------------- */ install: (app: VueApp, options?: Config) => void; }; export { rzlZiggyVue };