Files
2026-01-04 23:00:21 +08:00

749 B

License System Frontend

Admin + Agent web UI built with Vue 3, Vite, Element Plus.

Quick Start

  1. Copy env file:
cp .env.example .env
  1. 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.

  1. 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".