1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
Files
tutorials/docs/.vitepress/config.mts
2025-02-20 22:36:30 +08:00

38 lines
816 B
TypeScript

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' }
],
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' }
]
}
})