Skip to content

Commit

Permalink
docs: update Composables doc (#6707)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol authored Apr 26, 2022
1 parent 2a8a6fb commit bfa0ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/docs/composition/composables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Composable is a function that uses [Composition API](/composition/composition-api.html) under the hood. Composables are the main public API of Vue Storefront and, in most cases, the only API except configuration you will work with.

You can treat composables as independent micro-applications. They manage their own state, handle server-side rendering, and rarely interact with each other. No matter what integration you are using, your application will always have the same set of composables with the same interfaces.
You can treat composables as independent micro-applications. They manage their own state, handle server-side rendering, and rarely interact with each other.

To use a composable, you need to import it from an integration you use, and call it on the component `setup` option:

Expand Down

0 comments on commit bfa0ddb

Please sign in to comment.