/fivem-resource-cli

This is a FiveM resource CLI made to make it easier for people to create their own resources.

Primary LanguageVueGNU General Public License v3.0GPL-3.0

Logo

FiveM Resource CLI

This is a FiveM resource CLI made to make it easier for people to create their own resources.
You can pick any of the popular fivem frameworks and ui frameworks and the CLI will setup a boilerplate resource for you.
NPM Package Link

Installation

Run npm install -g fivem-resource-cli in a console window.

Usage

To use this CLI, run fivemresource new in any command window.
If you are going to use any UI framework such as VUE, go into the recently created resource folder and then open the command line in the src folder and run npm install.
Then you can use vue / react etc as normal building using npm run build and such.

Requirements

  • Node.js
  • A FiveM server if you actually want to use the files generated from this CLI.

Technologies used

  • fs & fs-extra for filesystem handling
  • inquirer for prompt / input handling
  • All UI frameworks use Vite for building

FiveM Boilerplate types

UI Boilerplate types

(All boilerplates have a JS & TS version)