feat: using unocss to add icons

This commit is contained in:
Usu171
2025-12-24 14:28:27 +08:00
parent f9b2e248da
commit fcd3cff326
4 changed files with 16 additions and 8 deletions

View File

@@ -1,11 +1,12 @@
import cloudflare from "@astrojs/cloudflare";
import react from "@astrojs/react";
import { defineConfig } from "astro/config";
import UnoCSS from "unocss/astro";
// https://astro.build/config
export default defineConfig({
adapter: cloudflare(),
integrations: [react()],
integrations: [react(), UnoCSS()],
i18n: {
defaultLocale: "zh-cn",
locales: ["en", "zh-cn", "zh-hk", "ja"],