Files
bootx eb99deb803 refactor(h5): 重构为 mobile/pc/shared 三层目录并实现双端入口分发
- 目录三层化:移动端代码集中 src/mobile/(App.vue/router/layout/views),
  PC 端 src/pc/,公共层 src/shared/(api/components/store/utils/styles 等);
  批量改写 @/<共享目录> → @/shared/<共享目录>
- 双端入口:index.html 内联脚本探测设备写 window.__DEVICE__,main.ts 据此
  挂载移动端(#app) 或 PC(#pc-app),零闪烁;PC 走 scoped px,
  postcss-mobile-forever 排除 src/pc/
- 路由切 history 模式,两端首页统一 /,/home* 兼容重定向;
  PC catch-all 渲染独立 NotFound 组件(非 redirect)
- 构建配置同步:svg iconDirs、less additionalData、Components dirs、warmup 路径
2026-06-24 12:02:57 +08:00
..
2024-09-23 19:27:15 +08:00