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

创建 vitepress 项目

This commit is contained in:
2025-02-20 22:19:02 +08:00
commit 0c1f60959c
9 changed files with 2742 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "就这么弄",
description: "简单步骤与实用技巧",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
],
sidebar: [
{
text: 'Examples',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
}
})