# License System Frontend Admin + Agent web UI built with Vue 3, Vite, Element Plus. ## Quick Start 1) Copy env file: ``` cp .env.example .env ``` 2) 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. 3) 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".