Update vue composition api content (#8606)

* Update options-api.md

* Update options-api@PPUU3Rb73aCpT4zcyvlJE.md
pull/8609/head
The Jared Wilcurt 3 days ago committed by GitHub
parent e2e569617d
commit fe6829311e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/vue/content/options-api@PPUU3Rb73aCpT4zcyvlJE.md

@ -1,6 +1,6 @@
# Options API
We use Options API in a Vue application to write and define different components. With this API, we can use options such as data, methods, and mounted. To state it simply, Options API is an old way to structure a Vue.JS application. Due to some limitations in this API, Composition API was introduced in Vue 3.
Vue offers many approaches for how to write components, including the Options API. It is the only API that is available in all versions of Vue. Its primary focus is on providing a consistent, clean, and organized aproach to writing component logic. Each part of a component's logic is given a dedicated section (data, methods, computed, props, life-cycle hooks, etc). By putting the logic in the correct section it has access to the features of the framework automatically. With the official Vue ESLint plugin the order of these sections can be enforced across all components allowing developers to predicatably locate any part of the component, even if they've never looked at the file before.
Visit the following resources to learn more:

Loading…
Cancel
Save