You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/extras/composition-api-faq.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ Yes in terms of stateful logic. When using Composition API, there are only a few
110
110
111
111
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.
112
112
113
-
### Can I use both APIs together in the same component? {#can-i-use-both-apis-together-in-the-same-component}
113
+
### Can I use both APIs in the same component? {#can-i-use-both-apis-in-the-same-component}
114
114
115
115
Yes. You can use Composition API via the [`setup()`](/api/composition-api-setup.html) option in an Options API component.
0 commit comments