mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
docs(concepts): change phrasing (#4601)
This commit is contained in:
parent
2d202b59e3
commit
45935e0791
@ -68,7 +68,7 @@ This way, a minimal Vue 3 application can be reduced to 12 kb gzipped.
|
||||
|
||||
### Composition API
|
||||
|
||||
The only way to provide data and logic to components in Vue 2 was through the Options API, allowing to return data and methods to a template with pre-defined properties like `data` and `methods`:
|
||||
The only way to provide data and logic to components in Vue 2 was through the Options API, which allows you to return data and methods to a template with pre-defined properties like `data` and `methods`:
|
||||
|
||||
```vue
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user