mandant-crm/frontend
Tim Stollberg e5e0be57da feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI
- Nuxt 3 CSR (ssr:false), @nuxtjs/tailwindcss, dev proxy to backend
- useAuth composable: CSRF cookie, XSRF token, login/logout/fetchUser
- auth middleware: redirects to /login if no session
- Login page, client list with search + create modal
- Client detail with editable name, dynamic notes (JSON), history feed
- History form with type select, inline edit/delete per entry
- Print layout at /clients/:id/print (calls window.print on mount)
- TypeScript interfaces: User, Client, HistoryEntry, PaginatedResponse
- German UI labels throughout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 17:33:39 +07:00
..
components feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
composables feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
middleware feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
pages feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
public feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
server feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
types feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
.gitignore feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
app.vue feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
CLAUDE.md feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
nuxt.config.ts feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
package-lock.json feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
package.json feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
README.md feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
tailwind.config.ts feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00
tsconfig.json feat(frontend): scaffold Nuxt 3 CSR SPA with full auth + client/history UI 2026-06-23 17:33:39 +07:00

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.