docs: editorial fixes (#1866)

Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
pull/1868/head
Fuqiao Xue 3 years ago committed by GitHub
parent abe62fd3ed
commit 9f2553424e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,8 @@
# API Reference
VitePress offers several built in API to let you access app data. VitePress also comes with few built-in component that can be used globally.
VitePress offers several built-in APIs to let you access app data. VitePress also comes with a few built-in components that can be used globally.
The helper methods are globally importable from `vitepress` and are typically used in custom theme Vue components. However, they are also usable inside `.md` pages because markdown files are compiled into Vue single-file components.
The helper methods are globally importable from `vitepress` and are typically used in custom theme Vue components. However, they are also usable inside `.md` pages because markdown files are compiled into Vue [Single-File Components](https://vuejs.org/guide/scaling-up/sfc.html).
Methods that start with `use*` indicates that it is a [Vue 3 Composition API](https://vuejs.org/guide/introduction.html#composition-api) function that can only be used inside `setup()` or `<script setup>`.

Loading…
Cancel
Save