DEVELOPING.md
cd cmd/workwebui
go run main.go
open "http://localhost:5040/"
Web UI frontend is written in react. Webpack is used to transpile and bundle es7 and jsx to run on modern browsers. Finally bundled js is embedded in a go file.
All NPM commands can be found in package.json.
npm installnpm testnpm run covernpm run lintnpm run buildnpm run devTo embed bundled js, do
go get -u github.com/jteeuwen/go-bindata/...
cd webui/internal/assets
go generate