38c13ec50e
- add vant@^4.9.0 dependency - migrate useDevice.ts (device detection + localStorage) - migrate MobileLayout.vue (tabbar + navbar + store init) - migrate mobile.css (vant theme -> --gg-* mapping) - migrate Placeholder.vue for unimplemented mobile views - index.html: viewport for mobile (no-zoom, safe-area) - main.ts: register Vant + import mobile.css - vite.config.ts: manualChunks code splitting (vue/element/vant/pocketbase/livekit) - router/index.ts: device-based routing via isMobile() + view() helper, preserve uat's JoinGroup/JoinTeam routes, mobile views use Placeholder pending stages 2-11 build verified: vue-tsc + vite build pass
32 lines
753 B
JSON
32 lines
753 B
JSON
{
|
|
"name": "gamegroup-v2-frontend",
|
|
"version": "2.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:dev": "bash scripts/start-dev.sh",
|
|
"dev:uat": "bash scripts/start-uat.sh",
|
|
"build": "vue-tsc && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"element-plus": "^2.6.3",
|
|
"livekit-client": "^2.18.3",
|
|
"pinia": "^2.1.7",
|
|
"pocketbase": "^0.21.1",
|
|
"vant": "^4.9.0",
|
|
"vue": "^3.4.21",
|
|
"vue-router": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"autoprefixer": "^10.4.19",
|
|
"postcss": "^8.4.38",
|
|
"tailwindcss": "^3.4.3",
|
|
"typescript": "^5.4.5",
|
|
"vite": "^5.2.8",
|
|
"vue-tsc": "^2.0.11"
|
|
}
|
|
}
|