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 run dev - Go to
http://localhost:3000in your browser to see the app in your browser. - Comment out line 25 and uncomment line 24 in client.lua.
- Refresh and ensure the resource
- Run
npm run buildto build the app. The build will be in thedistfolder. - Comment out line 24 and uncomment line 25 in client.lua.
- Refresh and ensure the resource