1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

配置 logo

This commit is contained in:
2025-02-20 22:36:30 +08:00
parent dccc9910e3
commit ea5497c43c
4 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
node_modules
**/.vitepress/cache

View File

@@ -2,10 +2,19 @@ import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
vite: {
server: {
port: 5678,
},
},
title: "就这么弄",
description: "简单步骤与实用技巧",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: {
src: '/public/assets/logo.svg',
},
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }

View File

@@ -5,6 +5,10 @@ layout: home
hero:
name: "就这么弄"
text: "简单步骤与实用技巧"
image:
src: /public/assets/logo.svg
alt: VitePress
style: "border-radius: 50%"
tagline: My great project tagline
actions:
- theme: brand

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 31 KiB