Skip to content

Commit

Permalink
ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 22, 2024
1 parent 238c43c commit 546b1ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -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: [
{
Expand Down

0 comments on commit 546b1ec

Please sign in to comment.