mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 10:07:58 -06:00
refactor(web): migrate frontend to Tailwind CSS and Vike SSR
- Replace Mantine UI components with Tailwind CSS v4 - Migrate from static HTML to Vike-based SSR framework - Disable SSR for game page (Emscripten requires browser environment) - Simplify Emscripten loading to avoid hydration conflicts - Remove Tailwind download logic from web.build.ts - Add package manager lockfiles for reproducible builds - Update .gitignore for node_modules and build artifacts
This commit is contained in:
7
web/pages/index/+config.ts
Normal file
7
web/pages/index/+config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Config } from "vike/types";
|
||||
|
||||
// Disable SSR for the game page since Emscripten requires a browser environment
|
||||
export default {
|
||||
prerender: false, // Don't pre-render during build
|
||||
ssr: false, // Force client-side only rendering
|
||||
} satisfies Config;
|
||||
Reference in New Issue
Block a user