media-rip/frontend/src/main.ts
xpltd efc2ead796 M001: media.rip() v1.0 — complete application
Full-featured self-hosted yt-dlp web frontend:
- Python 3.12+ / FastAPI backend with async SQLite, SSE transport, session isolation
- Vue 3 / TypeScript / Pinia frontend with real-time progress, theme picker
- 3 built-in themes (cyberpunk/dark/light) + drop-in custom theme system
- Admin auth (bcrypt), purge system, cookie upload, file serving
- Docker multi-stage build, GitHub Actions CI/CD
- 179 backend tests, 29 frontend tests (208 total)

Slices: S01 (Foundation), S02 (SSE+Sessions), S03 (Frontend),
        S04 (Admin+Auth), S05 (Themes), S06 (Docker+CI)
2026-03-18 20:00:17 -05:00

17 lines
484 B
TypeScript

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
/* Base CSS must load first — defines :root defaults and reset */
import './assets/base.css'
/* Theme overrides load after base — :root[data-theme] beats :root in cascade order */
import './themes/cyberpunk.css'
import './themes/dark.css'
import './themes/light.css'
import App from './App.vue'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.mount('#app')