diff --git a/src/guide/extras/composition-api-faq.md b/src/guide/extras/composition-api-faq.md index 898e8e2876..9f382cbdd1 100644 --- a/src/guide/extras/composition-api-faq.md +++ b/src/guide/extras/composition-api-faq.md @@ -110,7 +110,7 @@ Yes in terms of stateful logic. When using Composition API, there are only a few If you intend to exclusively use Composition API (along with the options listed above), you can shave a few kbs off your production bundle via a [compile-time flag](https://github.com/vuejs/core/tree/main/packages/vue#bundler-build-feature-flags) that drops Options API related code from Vue. Note this also affects Vue components in your dependencies. -### Can I use both APIs together? {#can-i-use-both-apis-together} +### Can I use both APIs in the same component? {#can-i-use-both-apis-in-the-same-component} Yes. You can use Composition API via the [`setup()`](/api/composition-api-setup.html) option in an Options API component.