mirror of
https://github.com/RhenCloud/Cloud-Home.git
synced 2026-01-22 17:39:07 +08:00
在多个组件中将 `img` 标签替换为 `NuxtImg` 标签,提升图片加载的性能和优化。例如,在 `AboutSection.vue`、`FriendsSection.vue`、`HeroSection.vue`、`ProjectsSection.vue`、`SitesSection.vue` 和 `SkillsSection.vue` 中的图片标签。 refactor(app): 扩展 `nuxt.config.ts` 配置 扩展了 `nuxt.config.ts` 配置文件中的模块配置,添加了 `@nuxt/image` 和 `@nuxt/eslint` 模块。同时,优化了 `routeRules` 配置,以支持预渲染和增量静态生成。
31 lines
840 B
JSON
31 lines
840 B
JSON
{
|
|
"name": "cloud-home",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "nuxt dev",
|
|
"build": "nuxt build",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"dependencies": {
|
|
"@giscus/vue": "^3.1.1",
|
|
"@jaseeey/vue-umami-plugin": "^1.4.0",
|
|
"@nuxt/eslint": "1.12.1",
|
|
"@nuxt/image": "2.0.0",
|
|
"eslint": "^9.39.2",
|
|
"nodemailer": "^7.0.11",
|
|
"nuxt": "^4.2.2",
|
|
"vite-tsconfig-paths": "^6.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@types/node": "^24.10.1",
|
|
"@types/nodemailer": "^7.0.4",
|
|
"autoprefixer": "^10.4.22",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
} |