remove ziggy npm dependency to fix typescript errors

This commit is contained in:
Gregor Vostrak
2024-03-27 17:18:50 +01:00
committed by Constantin Graf
parent ebd4754773
commit 0b18c22fe0
6 changed files with 3 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ import type { DefineComponent } from 'vue';
import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/vue3';
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
import { ZiggyVue } from 'ziggy-js';
import { ZiggyVue } from '../../vendor/tightenco/ziggy';
import { createPinia } from 'pinia';
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';

View File

@@ -1,5 +0,0 @@
import routeFn from 'ziggy-js';
declare global {
let route: typeof routeFn;
}