A modern and flexible boilerplate for building React + TailwindCSS NUI interfaces in FiveM using Vite. This setup is optimized for both development and production workflows.
- ⚛️ React + TypeScript frontend
- 🎨 TailwindCSS styling
- ⚡ Vite for lightning-fast dev server & builds
- 🔁 Live NUI message handling (Lua ⇄ React)
- 🧩 Modular hooks:
useNuiEvent,useSendToClient - 🔥
start:gamemode to test UI in FiveM without rebuilding
cd flakey_boilerplate/html
npm install