[data-reveal]{opacity:1!important;transform:none!important}
Frontend CLI
Building

Frontend CLI

The ajs dms commands that run, build and serve the DMS frontend, in short — the full reference lives in the dms-frontend documentation.

The ajs dms binary ships with @antelopejs/dms-frontend, the frontend loader: it fetches the frontend modules your backend serves, assembles them into one Vue workspace, and runs, builds or serves it. It has its own package, release cycle and documentation.

The complete reference — every command and flag, the environment variables, the frontend modules a layer ships, the server rendering and the deployment of the frontend server — is in the Frontend section.

The commands you use while building a dashboard

CommandWhen
ajs dms devDay to day, next to ajs project dev -w. Finds the running backend of the project on its own and reloads on every edit.
ajs dms build -e <env>Before a deployment: builds the frontend from antelope.config.ts and the installed modules, without a backend.
ajs dms start -b <url>In production: serves the built frontend.
ajs dms clean -b <url>When a dev workspace is stale: removes the workspace of that backend (--all removes every one).
Terminal
# terminal 1: the backend
ajs project dev -w

# terminal 2: the frontend, on http://localhost:3001
ajs dms dev

ajs dms reads the environment of the shell it runs in, and the project's .env files. Releases of the DMS and of the loader go together: DMS 0.10 runs on @antelopejs/dms-frontend 0.8.

Where to go next

Frontend documentation

The loader, its CLI, configuration and deployment.

Frontend layer

What your project's own frontend layer holds.

Deployment

Ship the backend and the frontend together.