Skip to content

Commit d6f98be

Browse files
authored
Fix/2707 api landing (#604)
* docs (#2707): add options api landing page * docs (#2707): add landing page for reactivity apis * docs (#2707): add landing page for API section * fix: missing word
1 parent 9c801e0 commit d6f98be

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed

src/.vuepress/config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ const sidebar = {
157157
'/api/global-api',
158158
{
159159
title: 'Options',
160+
path: '/api/options-api',
160161
collapsable: false,
161162
children: [
162163
'/api/options-data',
@@ -174,6 +175,7 @@ const sidebar = {
174175
'/api/built-in-components.md',
175176
{
176177
title: 'Reactivity API',
178+
path: '/api/reactivity-api',
177179
collapsable: false,
178180
children: [
179181
'/api/basic-reactivity',
@@ -296,7 +298,7 @@ module.exports = {
296298
},
297299
{
298300
text: 'API Reference',
299-
link: '/api/application-config'
301+
link: '/api/'
300302
},
301303
{
302304
text: 'Ecosystem',

src/api/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# API
2+
3+
The Vue.js API contains the following categories:
4+
5+
- [Application Config](/api/application-config.html)
6+
- [Application API](/api/application-api.html)
7+
- [Global API](/api/global-api.html)
8+
- [Options API](/api/options-api.html)
9+
- [Instance Properties](/api/instance-properties.html)
10+
- [Instance Methods](/api/instance-methods.html)
11+
- [Directives](/api/directives.html)
12+
- [Special Attributes](/api/special-attributes.html)
13+
- [Built-in Components](/api/built-in-components.html)
14+
- [Reactivity API](/api/reactivity-api.html)
15+
- [Composition API](/api/composition-api.html)

src/api/options-api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Options API
2+
3+
The Options API contains the following sections:
4+
5+
- [Data](/api/options-data.html)
6+
- [DOM](/api/options-dom.html)
7+
- [Lifecycle Hooks](/api/options-lifecycle-hooks.html)
8+
- [Assets](/api/options-assets.html)
9+
- [Composition](/api/options-composition.html)
10+
- [Miscellaneous](/api/options-misc.html)

src/api/reactivity-api.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Reactivity API
2+
3+
The Reactivity API contains the following sections:
4+
5+
- [Basic Reactivity APIs](/api/basic-reactivity.html)
6+
- [Refs](/api/refs-api.html)
7+
- [Computed and watch](/api/computed-watch-api.html)

0 commit comments

Comments
 (0)