feat: add photo booth functionality with shooting, uploading, and printing steps

- Implemented PrintStepView for displaying countdown and photo results.
- Created SelectSourceView for choosing between shooting new photos or uploading existing ones.
- Developed ShootingView for capturing photos using the device camera.
- Added UploadView for selecting and previewing uploaded photos.
- Configured TypeScript settings with tsconfig files for app and node environments.
- Set up Vite configuration with PWA support for the application.
This commit is contained in:
mrkad@rpi
2026-01-17 11:41:46 +07:00
commit e90c06230b
44 changed files with 10189 additions and 0 deletions

45
src/router/index.ts Normal file
View File

@@ -0,0 +1,45 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: HomeView,
},
{
path: '/frame',
name: 'frame',
component: () => import('../views/FrameView.vue'),
},
{
path: '/selectsource',
name: 'selectsource',
component: () => import('../views/SelectSourceView.vue'),
},
{
path: '/shooting',
name: 'shooting',
component: () => import('../views/ShootingView.vue'),
},
{
path: '/upload',
name: 'upload',
component: () => import('../views/UploadView.vue'),
},
{
path: '/printstep',
name: 'printstep',
component: () => import('../views/PrintStepView.vue'),
},
{
path: '/pickup',
name: 'pickup',
component: () => import('../views/PickupView.vue'),
},
],
})
export default router