Developing
June 2, 2026 ยท View on GitHub
Please also read
CODE_OF_CONDUCT.md.
Prerequisites
- Node.js 22+
- npm 10+
- Docker or Podman (for container image builds)
- A running API server
Core Technologies
| Technology | Purpose |
|---|---|
| Vue 2 | UI framework |
| Vue CLI | Build tooling |
| BootstrapVue | Component library |
| CoreUI | Admin template |
| Vue Router | Routing |
| vue-i18n | Localization |
| Axios | HTTP client |
| ESLint | Linting |
| Prettier | Formatting |
Install
npm ci
Dev Server
npm run serve
Defaults to http://localhost:8080, incrementing the port if it is already in use (e.g. 8081).
The API base URL is configured at runtime via public/static/config.json.
Build
npm run build
Output is written to dist/.
Container Image
npm run build-image
Produces ghcr.io/dependencytrack/frontend:local.
Linting and Formatting
npm run eslint-fix
npm run prettier-fix
Localization
Locale files live in src/i18n/locales.
Adding a key:
- Add it to
en.jsonwith the English translation. - Add the same key with a
nullvalue to every other locale file. - Run
npm run prettier-fixto sort keys.
Reports and cleanup:
npm run vue-i18n-extract
npm run remove-unused-i18n