If you don't know how react.js works, you should use the vanilla js template instead.
- Install node.js
- CD to the
ui
folder and runnpm i
, wait for it to complete.
- Run
npm dev
- Go to
http://localhost:3000
in 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 build
to build the app. The build will be in thedist
folder. - Comment out line 24 and uncomment line 25 in client.lua.
- Refresh and ensure the resource