Skip to content

FiveM Module with Vite, ReactJS, TailwindCSS and NUI hooks.

Notifications You must be signed in to change notification settings

mpcmarques/fivem-react-tailwindcss-js-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiveM React, Tailwind and Vite module template

Based on mpcmarques/react-vite-tailwindcss-i18next-starter

A starter template for a FiveM module using:

  • React as the components library
  • Tailwindcss as the design library
  • i18next as the internationalization library

Also they come with prettier and eslint configured.

How to use

installing dependencies

Clone the repository, run yarn

running on browser

open a terminal in the web folder and run yarn start (npm run start)

running on server

open a terminal in the web folder and run yarn start:game (npm run start:game)

building

open a terminal in the web folder and run yarn build (npm run build)