App.vue 挂载 Lenis(lerp 0.08 / allowNestedScroll),路由切换后同步滚动位置,避免残留惯性把页面拉回 main.css 把横向裁剪从 body 移到 html 并前置 hidden 回退,新增 html.lenis 关闭原生平滑;避免 body 的 overflow-y 被算成 auto 而让 Lenis 误判为嵌套滚动源
33 lines
747 B
JSON
33 lines
747 B
JSON
{
|
|
"name": "gvsite",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@fortawesome/fontawesome-free": "^7.3.1",
|
|
"axios": "^1.19.0",
|
|
"element-plus": "^2.14.5",
|
|
"lenis": "^1.3.26",
|
|
"marked": "^18.0.9",
|
|
"pinia": "^4.0.2",
|
|
"vue": "^3.5.40",
|
|
"vue-router": "^5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@types/node": "^24.13.3",
|
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.2.0",
|
|
"vue-tsc": "^3.3.8"
|
|
}
|
|
}
|