diff --git a/app/styles.global.css b/app/styles.global.css index 372de7d..87dd1b5 100644 --- a/app/styles.global.css +++ b/app/styles.global.css @@ -1,24 +1,5 @@ @import "tailwindcss"; -/* Font Awesome 字体优化 */ -@font-face { - font-family: "Font Awesome 6 Solid"; - src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") - format("woff2"); - font-display: swap; - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: "Font Awesome 6 Brands"; - src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2") - format("woff2"); - font-display: swap; - font-weight: 400; - font-style: normal; -} - @layer base { html { height: 100%; diff --git a/nuxt.config.ts b/nuxt.config.ts index 286d06a..cacc747 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -4,7 +4,7 @@ import tailwindcss from "@tailwindcss/vite"; export default defineNuxtConfig({ compatibilityDate: "2025-12-12", - srcDir: "app/", + srcDir: "app", modules: ["@nuxt/image", "@nuxt/eslint", "@nuxtjs/sitemap", "@nuxt/icon", "@nuxtjs/seo"], // 禁用 Vue Router 的非关键警告