FiveM UI Template
Hi there, I’ve just released an exciting ui template for all the developers to use! Feel free to download and use for free!
Features:
- Typescript support
- Write your code in typescript and get all the benefits of typescript
- Declare all your types in the types folder for ease of debugging and import them anywhere with the alias
@types
- Use the
@types
alias to import your types from the index.d.ts file in the types folder
- Esbuild support (for backend)
- Use esbuild to bundle your code and get the benefits of tree shaking
- Enjoy blazing fast build times
- Hot reload support via
pnpm watch
- Tailwindcss support
- Use tailwindcss to write your css
- Get all the benefits of tailwindcss
- ViteJS support (for frontend)
- Use vitejs to serve your code and get the benefits of vitejs
- Hot reload support via
pnpm watch
- Enjoy blazing fast build times
- Static/public folder
- Use the
static
orpublic
folder to serve static files which will be copied to the build folder - Upload images, fonts, etc. to the
public
folder and use them in your code as such:'/image.png'
- Use the
- Monorepo setup
- This project is setup as a monorepo fashion so you can just run
pnpm -parallel build
to build both the web and resource folder into the build directory
- This project is setup as a monorepo fashion so you can just run
- Plug and play
- Easily add your own code to the project and run any of the scripts to compile your code:
pnpm build
- Build the projectpnpm watch
- Watch the project for changes and build on changepnpm dev
- Run the project in development mode on the browser (frontend only)
- Easily add your own code to the project and run any of the scripts to compile your code: