Skip to content
/ fivem-tstolua Public template

This is a template resource for using typescript to lua within FiveM

License

Notifications You must be signed in to change notification settings

Z3rio/fivem-tstolua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiveM Ts -> Lua Template

This is a template resource for using typescript to lua within FiveM.

You can write your resource in typescript, for it to later be built into lua

Prerequisites

Technologies Used

Issues, suggestions, etcetera

If you encounter an issue with our template, simply open an issue here

Contribution

We gladly accept all contributions, contributing can be done via forking this repo and then creating a PR.

Setup

To set this up, simply run npm install in the root of this repository, as well as the ui folder. That will install all the node_modules for you.

Production

Building for production can be done using npm run build.

Using it in the root folder would build all the client/server scripts,

Whilst using it in the ui folder would build the actual ui files.

Development

Setting up a "dev server" / listener can be done by using npm run dev.

Using this command in the root folder will run a dev server for the actual client/server files.

Using this in the ui folder will create a local dev-server for the UI, just make sure to change the ui_page

About

This is a template resource for using typescript to lua within FiveM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published