If you don't know how react.js works, you should use the vanilla js template instead.
- Install node.js
- CD to the
uifolder and runnpm i, wait for it to complete.
- Run
npm dev - Go to
http://localhost:3000in your browser to see the app in your browser. - Comment out line 16 and uncomment line 17 in client.lua.
- Refresh and ensure the resource
- Run
npm run buildto build the app. The build will be in thedistfolder. - Comment out line 17 and uncomment line 16 in client.lua.
- Refresh and ensure the resource