Files
Hy2026/client
Rafał Tyński 9854133ac0 feat(client): add high-contrast theme option to theme switcher
Extend theme modes with an explicit high-contrast choice (WCAG 1.4.3) and expose i18n label keys for the theme menu.
2026-10-04 04:04:54 +02:00
..

TarninaHub — frontend (client)

Aplikacja SPA: Vue 3 + TypeScript + Vite + Vuetify 4, z routingiem (vue-router), stanem (pinia) i i18n (vue-i18n). Fundament dostępności WCAG 2.1 AA (senior-friendly).

Komendy

npm install
npm run dev            # serwer dev (Vite)
npm run build          # typecheck (vue-tsc) + build produkcyjny
npm run preview        # podgląd builda
npm run lint           # ESLint
npm run format         # Prettier (zapis)
npm run format:check   # Prettier (weryfikacja)
npm run test           # Vitest
npm run test:a11y      # Vitest (testy dostępności)

Konfiguracja

Skopiuj .env.example do .env i ustaw w razie potrzeby:

  • VITE_API_BASE_URL — bazowy adres API (pusty = ten sam origin; w dev proxy Vite),
  • VITE_SURREAL_* — lokalna (WASM/IndexedDB) i zdalna baza SurrealDB.

Szczegóły architektury i konwencji: 10_ZalozeniaProjektowe/todo18/FRONTEND.md.