License System Frontend
Admin + Agent web UI built with Vue 3, Vite, Element Plus.
Quick Start
- Copy env file:
cp .env.example .env
- Update API base URL or port in
.env:
VITE_API_BASE=http://localhost:39256
# or
VITE_API_PORT=39256
If both are empty, the frontend uses the current origin.
- Install deps and run:
npm install
npm run dev
Build:
npm run build
Notes
- Admin and agent share the same login page (role selector).
- Super admin is required for Agents and Settings pages.
- Backend must allow CORS for the frontend origin.
- Admin project permissions control project-level buttons (cards/projects).
- Editing agent allowed projects requires enabling "Override Allowed Projects".