From 9f2553424e44f8bc04f79dc91f56715261f57255 Mon Sep 17 00:00:00 2001 From: Fuqiao Xue Date: Tue, 31 Jan 2023 02:55:50 +0000 Subject: [PATCH] docs: editorial fixes (#1866) Co-authored-by: Kia King Ishii --- docs/guide/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/api.md b/docs/guide/api.md index 3c04271b..244bb966 100644 --- a/docs/guide/api.md +++ b/docs/guide/api.md @@ -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 `