create-fivemworke-app
v0.2.15
Published
Simple way to create a fivemworke project.
Downloads
24
Maintainers
Readme
FiveMworke
The first FiveM TypeScript Framework
Why use fivemworke?
- Fivemworke's directory system makes development much more organized and automates the generation of fxmanifes.lua resources and configurations
- Fivemworke is in typescript. a great language with typing and that will make development faster with the typing of server functions and client functions.
- Fivemworke will compile the files into one making the project lighter.
Usage
- Settup a fivem server. Fivem Docs to settup a server
- Run
npx create-fivemworke-app app
at dir of fivem server. - this is the framework folder structure.
├── app
│ └── src
| └── resource-name
| └── client
| └── server
| └── nui
├── resources
├── start.bat
- The name of the folder
resource-name
, will be the name of the resource. - The client folder will contain all the files with the client scripts, which when compiled with the build command will be transformed into a single file.
- Same thing for server folder
- The nui folder will contain the nui of the resource.
How it works?
Contributions
This is my first open source lib that i'm creating, i don't understand much about open source projects but i'm studying about it, to improve the community and contributors.
Any contribution such as bug reports, bug fixes and framework improvements are welcome and each pull request will be analyzed and if proposed improvements will be merged into the main branch and the new version of the package will be published
- [x] System Files to generate fxmanifest.lua
- [x] Compile ts to /resources
- [x] React
- [x] Gerar o fxmanifest.lua por ultimo e adionar uipage apenas se existir