mirror of
https://github.com/RhenCloud/Cloud-Home.git
synced 2026-07-26 08:23:57 +08:00
chore: migrate to Bun, update deps and add Nuxt Fonts
- Replace pnpm with Bun (bun.lock, remove pnpm-lock.yaml) - Add @nuxt/fonts module and configure Iconify icons - Add NUXT_OG_IMAGE_SECRET for multi-instance OG image signing - Update dependencies to latest versions - Simplify Tailwind font configuration - Add trustedDependencies and overrides for unhead packages
This commit is contained in:
@@ -14,8 +14,20 @@ export default defineNuxtConfig({
|
||||
"@nuxtjs/sitemap",
|
||||
"@nuxt/icon",
|
||||
"@nuxtjs/seo",
|
||||
"@nuxt/fonts",
|
||||
],
|
||||
|
||||
icon: {
|
||||
provider: "iconify",
|
||||
collections: ["lucide", "simple-icons"],
|
||||
},
|
||||
|
||||
ogImage: {
|
||||
security: {
|
||||
secret: process.env.NUXT_OG_IMAGE_SECRET || "3ecc76b00dd73f5124438ab14204714ce74ae172b2c5e57dce3ba2244b41aad9",
|
||||
},
|
||||
},
|
||||
|
||||
// 禁用 Vue Router 的非关键警告
|
||||
vue: {
|
||||
compilerOptions: {
|
||||
@@ -111,4 +123,4 @@ export default defineNuxtConfig({
|
||||
wakatimeApiUrl: process.env.WAKATIME_API_URL ?? "https://wakatime.com/api/v1",
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user