- 弃用 iframe 嵌入:直接 import 子模块 timeTableFix 的 App.vue 为懒加载路由 组件,共享 mainPage 构建/依赖(ical.js)/KeepAlive 缓存,无运行期割裂 - git submodule 接入 third_party/timeTableFix(固定到 a49a725),.gitmodules 使用无凭据 URL;.gitignore 忽略子模块 node_modules - 删旧 iframe 包装组件 Timetable.vue,移除 app.config 中 timeTableFix 配置 - timetable 模块不再 requiresAlive(构建期已打包,无远程依赖) - README 更新:项目结构、submodule clone/升级流程、存活校验描述 - 子模块样式隔离(scoped + ttf- 前缀)已在 timeTableFix 侧完成,无泄漏
23 lines
516 B
JSON
23 lines
516 B
JSON
{
|
|
"name": "mainpage",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Zikai 作品集主页 -- Vue3 模块化多项目展示站,中英双语懒加载,浅色极简风格",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"ical.js": "^2.1.0",
|
|
"vue": "^3.4.21",
|
|
"vue-i18n": "^9.13.1",
|
|
"vue-router": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"vite": "^5.2.0"
|
|
}
|
|
}
|