mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-03-28 07:19:45 +08:00
* 在 `index.html` 中添加性能优化的 meta 标签,提升页面加载速度。 * 更新 `App.vue` 中的背景层,使用 GPU 加速和懒加载策略,优化性能。 * 在多个组件中引入 GPU 加速和渲染隔离的 CSS 类,提升动画和交互性能。 * 更新 `FloatingButtons.vue` 和 `SearchHeader.vue` 的样式,确保在不同主题下的视觉一致性。 * 优化 `useClickEffect.ts` 中的点击特效实现,使用对象池和 CSS 变量减少 DOM 操作和样式计算。 * 在 `base.css` 中添加全局性能优化工具类,提升整体渲染效率。
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"name": "searchgal-frontend",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.2",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@types/node": "^25.0.2",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
"@typescript-eslint/parser": "^8.49.0",
|
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-vue": "^10.6.2",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.49.0",
|
|
"vite": "^7.2.7",
|
|
"vue-tsc": "^3.1.8"
|
|
},
|
|
"dependencies": {
|
|
"@fancyapps/ui": "^6.1.7",
|
|
"@fontsource/noto-sans-sc": "^5.2.8",
|
|
"artalk": "^2.9.1",
|
|
"lozad": "^1.16.0",
|
|
"lucide-vue-next": "^0.561.0",
|
|
"motion-v": "^1.7.4",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^3.0.4",
|
|
"quicklink": "^3.0.1",
|
|
"vue": "^3.5.25"
|
|
}
|
|
}
|