配置 logo
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
**/.vitepress/cache
|
@@ -2,10 +2,19 @@ import { defineConfig } from 'vitepress'
|
|||||||
|
|
||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
vite: {
|
||||||
|
server: {
|
||||||
|
port: 5678,
|
||||||
|
},
|
||||||
|
},
|
||||||
title: "就这么弄",
|
title: "就这么弄",
|
||||||
description: "简单步骤与实用技巧",
|
description: "简单步骤与实用技巧",
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
|
logo: {
|
||||||
|
src: '/public/assets/logo.svg',
|
||||||
|
},
|
||||||
|
|
||||||
nav: [
|
nav: [
|
||||||
{ text: 'Home', link: '/' },
|
{ text: 'Home', link: '/' },
|
||||||
{ text: 'Examples', link: '/markdown-examples' }
|
{ text: 'Examples', link: '/markdown-examples' }
|
||||||
|
@@ -5,6 +5,10 @@ layout: home
|
|||||||
hero:
|
hero:
|
||||||
name: "就这么弄"
|
name: "就这么弄"
|
||||||
text: "简单步骤与实用技巧"
|
text: "简单步骤与实用技巧"
|
||||||
|
image:
|
||||||
|
src: /public/assets/logo.svg
|
||||||
|
alt: VitePress
|
||||||
|
style: "border-radius: 50%"
|
||||||
tagline: My great project tagline
|
tagline: My great project tagline
|
||||||
actions:
|
actions:
|
||||||
- theme: brand
|
- theme: brand
|
||||||
|
1
docs/public/assets/logo.svg
Normal file
1
docs/public/assets/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 31 KiB |
Reference in New Issue
Block a user