Skip to content

Commit f2e7dff

Browse files
committed
plan examples
1 parent 2adaef6 commit f2e7dff

File tree

1 file changed

+37
-26
lines changed

1 file changed

+37
-26
lines changed

src/.vitepress/config.js

Lines changed: 37 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -350,18 +350,47 @@ const sidebar = {
350350
],
351351
'/examples/': [
352352
{
353-
text: 'Basic Examples',
353+
text: 'Basic',
354+
items: [
355+
{
356+
text: 'Hello World',
357+
link: '/examples/#hello-world'
358+
},
359+
{
360+
text: 'Handling User Input',
361+
link: '/examples/#handling-input'
362+
},
363+
{
364+
text: 'Attribute Bindings',
365+
link: '/examples/#attr-bindings'
366+
},
367+
{
368+
text: 'Conditionals and Loops',
369+
link: '/examples/#conditionals-and-loops'
370+
},
371+
{
372+
text: 'Form Bindings',
373+
link: '/examples/#form-bindings'
374+
},
375+
{
376+
text: 'Simple Components',
377+
link: '/examples/#simple-components'
378+
}
379+
]
380+
},
381+
{
382+
text: 'Practical',
354383
items: [
355384
{
356385
text: 'Markdown Editor',
357386
link: '/examples/#markdown'
358387
},
359388
{
360-
text: 'GitHub Commits',
389+
text: 'Fetching Data',
361390
link: '/examples/#commits'
362391
},
363392
{
364-
text: 'Data Grid',
393+
text: 'Grid with Sort and Filter',
365394
link: '/examples/#grid'
366395
},
367396
{
@@ -373,9 +402,13 @@ const sidebar = {
373402
link: '/examples/#svg'
374403
},
375404
{
376-
text: 'Modal',
405+
text: 'Modal with Transitions',
377406
link: '/examples/#modal'
378407
},
408+
{
409+
text: 'List with Transitions',
410+
link: '/examples/#list'
411+
},
379412
{
380413
text: 'TodoMVC',
381414
link: '/examples/#todomvc'
@@ -416,28 +449,6 @@ const sidebar = {
416449
}
417450
]
418451
}
419-
// TODO
420-
// {
421-
// text: 'API Usage',
422-
// items: [
423-
// {
424-
// text: 'v-bind',
425-
// link: '/examples/#v-bind'
426-
// },
427-
// {
428-
// text: 'v-if',
429-
// link: '/examples/#v-if'
430-
// },
431-
// {
432-
// text: 'v-for',
433-
// link: '/examples/#v-for'
434-
// },
435-
// {
436-
// text: 'v-model',
437-
// link: '/examples/#v-model'
438-
// }
439-
// ]
440-
// }
441452
],
442453
'/tutorial/': [
443454
{

0 commit comments

Comments
 (0)