Compare commits
2 commits
0325ca2c48
...
0772a9a8e7
Author | SHA1 | Date | |
---|---|---|---|
0772a9a8e7 | |||
f4cc751a47 |
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
import type { JSXElement } from "solid-js";
|
import type { JSXElement } from "solid-js";
|
||||||
|
import { lazy } from "solid-js";
|
||||||
import { ColorModeProvider, ColorModeScript } from "@kobalte/core";
|
import { ColorModeProvider, ColorModeScript } from "@kobalte/core";
|
||||||
import { Separator } from "@/components/ui/separator";
|
|
||||||
import {
|
import {
|
||||||
Tabs,
|
Tabs,
|
||||||
TabsContent,
|
TabsContent,
|
||||||
|
@ -9,10 +9,11 @@ import {
|
||||||
TabsTrigger,
|
TabsTrigger,
|
||||||
} from "@/components/ui/tabs";
|
} from "@/components/ui/tabs";
|
||||||
import Home from "@/pages/Home";
|
import Home from "@/pages/Home";
|
||||||
import Browser from "@/pages/Browser";
|
|
||||||
import Game from "@/pages/Game";
|
|
||||||
import Footer from "@/components/Footer";
|
import Footer from "@/components/Footer";
|
||||||
|
|
||||||
|
const Browser = lazy(() => import("@/pages/Browser"));
|
||||||
|
const Game = lazy(() => import("@/pages/Game"));
|
||||||
|
|
||||||
export default function App(): JSXElement {
|
export default function App(): JSXElement {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
@ -17,6 +17,7 @@ export default defineConfig({
|
||||||
solidPlugin(),
|
solidPlugin(),
|
||||||
],
|
],
|
||||||
server: {
|
server: {
|
||||||
|
host: "127.0.0.1",
|
||||||
port: 3000,
|
port: 3000,
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue