Vue Composables
Composable APIs provide reusable Vue Composables for working with the Shopware Administration data layer and shared state inside extensions.
They simplify common tasks such as accessing repositories or sharing reactive state between different parts of an extension.
Currently, the SDK exposes:
- useRepository: Create a reactive repository instance for a given entity.
- useSharedState: Share reactive state between different extension components.