File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default function App() {
28
28
< Links />
29
29
</ head >
30
30
< body >
31
- < Provider
31
+ < Provider
32
32
theme = { defaultTheme }
33
33
locale = "en"
34
34
router = { {
@@ -38,6 +38,12 @@ export default function App() {
38
38
< Outlet />
39
39
</ Provider >
40
40
< ScrollRestoration />
41
+ { /* https://remix.run/docs/en/main/guides/envvars */ }
42
+ < script
43
+ dangerouslySetInnerHTML = { {
44
+ __html : `window.process = {}; window.process.env = {};` ,
45
+ } }
46
+ />
41
47
< Scripts />
42
48
< LiveReload />
43
49
</ body >
Original file line number Diff line number Diff line change 19
19
"react-dom" : " ^18.2.0"
20
20
},
21
21
"devDependencies" : {
22
+ "@react-aria/optimize-locales-plugin" : " ^1.1.4" ,
22
23
"@remix-run/dev" : " ^2.3.1" ,
23
24
"@remix-run/eslint-config" : " ^2.3.1" ,
24
25
"@types/react" : " ^18" ,
Original file line number Diff line number Diff line change 1
- import { unstable_vitePlugin as remix } from "@remix-run/dev" ;
1
+ import { vitePlugin as remix } from "@remix-run/dev" ;
2
2
import { defineConfig } from "vite" ;
3
3
import tsconfigPaths from "vite-tsconfig-paths" ;
4
4
import optimizeLocales from '@react-aria/optimize-locales-plugin' ;
You can’t perform that action at this time.
0 commit comments