File tree 2 files changed +11
-13
lines changed
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';
7
7
import { ZiggyVue } from '../../vendor/tightenco/ziggy' ;
8
8
import { initializeTheme } from './composables/useAppearance' ;
9
9
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
-
23
10
const appName = import . meta. env . VITE_APP_NAME || 'Laravel' ;
24
11
25
12
createInertiaApp ( {
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