File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,6 @@ import { createApp, h } from 'vue';
77import { ZiggyVue } from '../../vendor/tightenco/ziggy' ;
88import { initializeTheme } from './composables/useAppearance' ;
99
10- // Extend ImportMeta interface for Vite...
11- declare module 'vite/client' {
12- interface ImportMetaEnv {
13- readonly VITE_APP_NAME : string ;
14- [ key : string ] : string | boolean | undefined ;
15- }
16-
17- interface ImportMeta {
18- readonly env : ImportMetaEnv ;
19- readonly glob : < T > ( pattern : string ) => Record < string , ( ) => Promise < T > > ;
20- }
21- }
22-
2310const appName = import . meta. env . VITE_APP_NAME || 'Laravel' ;
2411
2512createInertiaApp ( {
Original file line number Diff line number Diff line change 1+ declare module 'vite/client' {
2+ interface ImportMetaEnv {
3+ readonly VITE_APP_NAME : string ;
4+ [ key : string ] : string | boolean | undefined ;
5+ }
6+
7+ interface ImportMeta {
8+ readonly env : ImportMetaEnv ;
9+ readonly glob : < T > ( pattern : string ) => Record < string , ( ) => Promise < T > > ;
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments