fmedeiros95/fivem-frontend-boilerplates — reverse-engineered prompt
Reverse engineered prompt
Build me a clean starter repo for making FiveM NUI frontends. I want separate boilerplates for React, Vue, and Solid, all using TypeScript, so I can pick one and start building an in game UI without setting up the same basics every time.
Please include simple shared helpers for detecting if the UI is running in a normal browser, sending or receiving NUI style events, testing fake data while developing in the browser, handling keyboard shortcuts like Escape or F1, closing panels when clicking outside them, debouncing input, and converting design pixel values into viewport units.
Make each boilerplate feel usable right away with a small example screen that shows receiving a NUI action, toggling visibility, and closing with a key. Keep the code tidy and easy to understand for someone making FiveM resources. Add a short README that explains how to run each example and where the helper functions live. Look up current framework docs online if needed.
Want more depth? Deep Reverse