diff --git a/bun.lockb b/bun.lockb index c9c01f7..68ed81e 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 61c50b0..6df9ee0 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "tailwindcss": "^3.4.1", "typescript": "^5.5.3", "typescript-eslint": "^8.3.0", + "vike": "^0.4.210", "vite": "^5.4.2", "vite-plugin-vercel": "^9.0.3" } diff --git a/vite.config.ts b/vite.config.ts index 9221825..a5f943c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,11 +1,15 @@ import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import vercel from "vite-plugin-vercel"; +import ssr from "vike/plugin"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [ react(), + ssr({ + prerender: true, + }), vercel({ rewrites: [ {