diff --git a/bun.lockb b/bun.lockb
index 5dbf326..f08b9a5 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/index.html b/index.html
deleted file mode 100644
index bff1342..0000000
--- a/index.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
@@ -149,9 +148,7 @@ export default function App() {
-
-
-
+
diff --git a/src/app/App.test.jsx b/src/pages/index/Page.test.jsx
similarity index 100%
rename from src/app/App.test.jsx
rename to src/pages/index/Page.test.jsx
diff --git a/src/utils/fastboot.js b/src/utils/fastboot.js
index 5142b4b..5171e5c 100644
--- a/src/utils/fastboot.js
+++ b/src/utils/fastboot.js
@@ -103,7 +103,7 @@ export function useFastboot() {
/** @type {React.RefObject} */
const manifest = useRef(null)
- const initializePromise = useRef(null);
+ const initializePromise = useRef(null)
function setMessage(message = '') {
if (message) console.info('[fastboot]', message)
diff --git a/vite.config.js b/vite.config.js
index e379ad4..8d0a0c1 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,26 +1,19 @@
-import { fileURLToPath, URL } from 'node:url';
+import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
-import tailwindcss from 'tailwindcss'
-import autoprefixer from 'autoprefixer'
+import vike from 'vike/plugin'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
+ vike({
+ prerender: true,
+ }),
],
- build: {
- ssr: true,
- rollupOptions: {
- input: {
- server: '/src/entry-server.jsx',
- },
- },
- },
- css: {
- postcss: {
- plugins: [tailwindcss, autoprefixer],
- },
+ publicDir: 'public',
+ preview: {
+ port: 5173
},
resolve: {
alias: [