| .. | |||
| src | 5 hours ago | ||
| README.md | 1 day ago | ||
| index.html | 5 hours ago | ||
| package-lock.json | 5 hours ago | ||
| package.json | 5 hours ago | ||
| vite.config.js | 5 hours ago | ||
owner: gmikcon status: active last_reviewed: 2026-11-19 review_interval: 30d confidence: high
The Gnexus Book UI is a custom Vue.js application based on gnexus-ui-kit.
gnexus-ui-kit is the official UI kit and design-system layer for Gnexus projects. It is consumed as a dependency so the shared visual style can be managed centrally across projects.
Source UI kit repository:
https://git.gnexus.space/root/gnexus-ui-kit
The UI is a maintenance console, not a document editor. It provides:
/api/me, explicit sign-in, logout);GnPageHeader on every page;src/i18n/.All writes go through the backend API; the UI does not edit files directly.
src/main.js is the single-page application: no router, page switching is local state.computed because t() reads a reactive locale; module-level arrays would freeze the initial language.GnToastProvider at the app root; useToast() is used inside it./api/auth/login. gnexus-auth redirects back to /auth/callback, so the dev server proxies /auth and /webhooks as well as /api."gnexus-ui-kit": "file:../../gnexus-ui-kit"
This keeps the UI kit as a package dependency while allowing local updates to the official kit source.
Avoid copying UI kit styles into this project unless there is a temporary integration reason. Prefer upstream changes in gnexus-ui-kit for shared style decisions.
cd ui npm install npm run dev
The dev server runs on port 3006 and proxies /api/*, /auth/*, and /webhooks/* to the FastAPI backend on 127.0.0.1:3005. Build with npm run build; the output is dist/.