Developing

June 2, 2026 ยท View on GitHub

Please also read CODE_OF_CONDUCT.md.

Prerequisites

Core Technologies

TechnologyPurpose
Vue 2UI framework
Vue CLIBuild tooling
BootstrapVueComponent library
CoreUIAdmin template
Vue RouterRouting
vue-i18nLocalization
AxiosHTTP client
ESLintLinting
PrettierFormatting

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:

  1. Add it to en.json with the English translation.
  2. Add the same key with a null value to every other locale file.
  3. Run npm run prettier-fix to sort keys.

Reports and cleanup:

npm run vue-i18n-extract
npm run remove-unused-i18n