Skip to content

Latest commit

 

History

History

lb-reactts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

LB Phone - TypeScript React Template

If you don't know how react.js works, you should use the vanilla js template instead.

Installing modules

  1. Install node.js
  2. CD to the ui folder and run npm i, wait for it to complete.

Developing the app

  1. Run npm dev
  2. Go to http://localhost:3000 in your browser to see the app in your browser.
  3. Comment out line 25 and uncomment line 24 in client.lua.
  4. Refresh and ensure the resource

Building the app

  1. Run npm run build to build the app. The build will be in the dist folder.
  2. Comment out line 24 and uncomment line 25 in client.lua.
  3. Refresh and ensure the resource