mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
remove ziggy npm dependency to fix typescript errors
This commit is contained in:
committed by
Constantin Graf
parent
ebd4754773
commit
0b18c22fe0
@@ -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';
|
||||
|
||||
5
resources/js/types/ziggy.d.ts
vendored
5
resources/js/types/ziggy.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import routeFn from 'ziggy-js';
|
||||
|
||||
declare global {
|
||||
let route: typeof routeFn;
|
||||
}
|
||||
Reference in New Issue
Block a user