mirror of
https://github.com/101island/lolisland.us.git
synced 2026-03-01 11:49:43 +08:00
feat: using unocss to add icons
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user