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:
Ryan Walters
2025-11-02 13:39:51 -06:00
parent ffc5b8d15b
commit fb98c077b5
15 changed files with 1117 additions and 423 deletions

View 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;