Skip to content

Commit

Permalink
docs: start reactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
s-elo committed Dec 2, 2023
1 parent a12d030 commit 27c90c6
Show file tree
Hide file tree
Showing 2 changed files with 536 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ export default withMermaid(
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: '准备', link: '/prepare/start', activeMatch: '/prepare/' },
{ text: '核心', link: '/core/start', activeMatch: '/core/' }
{
text: '核心',
link: '/core/reactivity/reactive',
activeMatch: '/core/'
}
],

sidebar: {
Expand Down Expand Up @@ -95,6 +99,16 @@ function sidebarPrepare(): DefaultTheme.SidebarItem[] {

function sidebarCore(): DefaultTheme.SidebarItem[] {
return [
{
text: '响应式系统',
collapsed: false,
items: [
{
text: 'reactive',
link: '/core/reactivity/reactive'
}
]
},
{
text: '渲染系统',
collapsed: false,
Expand Down
Loading

0 comments on commit 27c90c6

Please sign in to comment.