chore: init website project
This commit is contained in:
31
website/.vitepress/config.mts
Normal file
31
website/.vitepress/config.mts
Normal file
@@ -0,0 +1,31 @@
|
||||
import { defineConfig } from 'vitepress';
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
description: 'A VitePress Site',
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ link: '/', text: 'Home' },
|
||||
{ link: '/markdown-examples', text: 'Examples' },
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: 'Examples',
|
||||
items: [
|
||||
{ link: '/markdown-examples', text: 'Markdown Examples' },
|
||||
{ link: '/api-examples', text: 'Runtime API Examples' },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' },
|
||||
],
|
||||
},
|
||||
title: 'My Awesome Project',
|
||||
vite: {
|
||||
server: { port: 6173 },
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user