Boilerplate for FiveM with React Typescript Eslint using Classic Yarn workspaces.
Includes Eslint for client server and ui with typechecking.
- Brains
- Yarn
- Basic understanding of web development with react and some understanding of fivem resources.
- Basic idea of yarn workspaces
- Download this repo and extract
- Rename folder to something great and innovative
- Place folder to your Cfx server resources folder
- Add
ensure your_resource_name_here
to your server.cfg yarn install
in root of the project- Start making content using commands listed below
yarn watch:ui
Launches web browser with UI. You can also develop in game with this mode.
yarn watch:app
Starts watching for changes in client and server. Rebuilds on change. Works also in game.
yarn build
React utils are from Project Error. You can read more about the utils at Project Error react boilerplate