Skip to content

Giantcard5/fivem-typescript-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔧 FiveM React TS Resource Boilerplate

This repository is a basic boilerplate for getting started with React TS resources in FiveM.

Requirements

  • Node > v14
  • Yarn

Getting Started

Install Dependencies

Navigate into the newly cloned folder and execute the following command, to install dependencies.

yarn install

Development

Hot Building

While developing your resource, this boilerplate offers a dev script that will automatically hot rebuild on any change within the web directory.

yarn dev

This script still requires you restart the resource for the changes to be reflected in-game

Production Build

Once you have completed the development phase of your resource, you must create an optimized & minimized production build, using the build script.

yarn build

About

🔧 A simple React-Typescript Boilerplate for Fivem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published