Use MediaLightbox for peer previews and owned files, preserve cached media URLs and payment flows, and keep documents in a modal with an explicit download. Add safe-area chrome, touch controls, same-URL Back history, focus restoration, and PiP blob ownership cleanup. Focused Vitest: 103 tests across six viewer/PiP/paid-file/PeerFiles modules pass. Browser viewport fixtures are authored but not yet run; strict project types and physical Companion UX remain pending. No native, pairing, version, APK, or release changes.
9 lines
383 B
TypeScript
9 lines
383 B
TypeScript
import { createApp } from 'vue'
|
|
import { createRouter, createWebHistory } from 'vue-router'
|
|
import Fixture from './ViewerFixture.vue'
|
|
import '../../src/style.css'
|
|
const router = createRouter({ history: createWebHistory(), routes: [{ path: '/:pathMatch(.*)*', component: Fixture }] })
|
|
const app = createApp(Fixture)
|
|
app.use(router)
|
|
void router.isReady().then(() => app.mount('#app'))
|