This is a multiple boilerplate for getting started with TypeScript/Javascript/Lua game-scripts, and with Nui React/Vue in FiveM.
npx create-fivem-resource
This command will install and execute create-fivem-resource
, an unofficial FiveM project scaffolding tool. You will be presented with prompts for several optional features such as TypeScript and Nui support :
If you've previously installed
create-fivem-resource
globally vianpm install -g create-fivem-resource
, we recommend you uninstall the package usingnpm uninstall -g create-fivem-resource
oryarn global remove create-fivem-resource
to ensure thatnpx
always uses the latest version.
(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
Then follow instruction of README.md in your resource
🕑: to do 🚧: wip ✅: finished
Template | Status | Link |
---|---|---|
Typescript - Nui - React | ✅ | link |
Typescript - Nui - Vue | ✅ | link |
Typescript - Vanilla | ✅ | link |
Javascript - Nui - React | ✅ | link |
Javascript - Nui - Vue | ✅ | link |
Javascript - Vanilla | ✅ | link |
Lua - Nui - React | ✅ | link |
Lua - Nui - Vue | ✅ | link |
Lua - Vanilla | ✅ | link |