mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
feat(图标): 添加本地SVG图标支持并更新相关配置
- 在astro配置中添加iconDir指定本地图标目录 - 移除@iconify-json/simple-icons生产依赖,改为开发依赖 - 添加多个本地SVG图标文件(creative-commons, qq, telegram等) - 更新配置文件使用本地图标替代Font Awesome图标 - 在Profile组件中添加文章数和字数统计功能
This commit is contained in:
@@ -68,6 +68,7 @@ export default defineConfig({
|
||||
"material-symbols-light": ["*"],
|
||||
"material-symbols": ["*"],
|
||||
},
|
||||
iconDir: "public/icons", // Add this line to specify the directory for local SVG icons
|
||||
}),
|
||||
svelte(),
|
||||
sitemap(),
|
||||
|
||||
Reference in New Issue
Block a user