The build guide is intended for developers or advanced users only. Regular users should follow the quick start guide.
You should execute the following command to update browser list database before build project.
npx browserslist@latest --update-db
Please execute the following command in app
directory.
pnpm install
pnpm build
::: warning Before building the backend, the app should be built first because the backend will embed the app distribution. :::
Please execute the following command in the project root directory.
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go