mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
feat(docs): 添加网站图标配置
- 在head中添加favicon链接标签 - 配置图标类型为image/png - 设置图标路径为/GFramework/favicon.png
This commit is contained in:
parent
1fc5e0c708
commit
b35450bb15
@ -4,7 +4,9 @@ export default defineConfig({
|
|||||||
|
|
||||||
title: 'GFramework',
|
title: 'GFramework',
|
||||||
description: '面向游戏开发场景的模块化 C# 框架',
|
description: '面向游戏开发场景的模块化 C# 框架',
|
||||||
|
head: [
|
||||||
|
['link', { rel: 'icon', type: 'image/png', href: '/GFramework/favicon.png' }],
|
||||||
|
],
|
||||||
/** GitHub Pages / 子路径部署 */
|
/** GitHub Pages / 子路径部署 */
|
||||||
base: '/GFramework/',
|
base: '/GFramework/',
|
||||||
vite: {
|
vite: {
|
||||||
|
|||||||
BIN
docs/public/favicon.png
Normal file
BIN
docs/public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Loading…
x
Reference in New Issue
Block a user