This repository is a basic boilerplate for getting started with React TS resources in FiveM.
- Node > v14
- Yarn
Install Dependencies
Navigate into the newly cloned folder and execute the following command, to install dependencies.
yarn installWhile developing your resource, this boilerplate offers
a dev script that will automatically hot rebuild on any
change within the web directory.
yarn devThis script still requires you restart the resource for the changes to be reflected in-game
Once you have completed the development phase of your resource,
you must create an optimized & minimized production build, using
the build script.
yarn build