Skip to content

Commit

Permalink
fix base
Browse files Browse the repository at this point in the history
  • Loading branch information
boot-vue committed Apr 10, 2024
1 parent 7a2fb59 commit 1153ddf
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
import { defineConfig } from 'vitepress'
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "vbeats",
base: "/blog/",
description: "开心每一天",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
],

sidebar: [
{
text: 'Examples',
text: "Examples",
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
{ text: "Markdown Examples", link: "/markdown-examples" },
{ text: "Runtime API Examples", link: "/api-examples" },
],
},
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
}
})
{ icon: "github", link: "https://github.com/vuejs/vitepress" },
],
},
});

0 comments on commit 1153ddf

Please sign in to comment.