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 16 and uncomment line 17 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 17 and uncomment line 16 in client.lua.
- Refresh and ensure the resource