Socket
Socket
Sign inDemoInstall

@shopware-pwa/composables

Package Overview
Dependencies
43
Maintainers
2
Versions
831
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @shopware-pwa/composables

@shopware-pwa/composables


Version published
Maintainers
2
Install size
2.70 MB
Created

Changelog

Source

1.6.1 (2023-02-03)

Bug Fixes

  • default-theme: carousel not refresh when cross selling change tab (#1979) (7f9befc)
  • typo in interface (#1974) (af7564c)
  • default-theme: SwAddressForm.vue country validation (#1976) (2dadc33)

Bug Fixes

  • api-client: parsing error message when API cannot be reached (#1931) (59da884)
  • client: update newsletter unsubscribe function (#1939) (1a161a7)
  • default-theme: breadcrumb routing issue (#1932) (f676abc)
  • default-theme: catalog, hydration problem (#1929) (a06f4ca)
  • default-theme: destroy glide-when-unmount (#1956) (64f92f4)
  • default-theme: import swpluginslot (#1967) (de129f3)
  • default-theme: price from translation (#1943) (401c1d3)
  • default-theme: toggle on cancel button (#1930) (ed638ba)
  • default-theme: translate text from back button (#1949) (ffd9c8e)

Features

  • composable: Add more CmsSlotType for Frontends references (#1925) (21131d9)
  • default-theme: add purchase-steps (#1955) (30391ad)
  • default-theme: change 404 translation (#1961) (ad488bc)
  • default-theme: improve performance (#1962) (1655823)
  • default-theme: Improve SwImage component when no thumbnail (#1936) (2c8b383)
  • default-theme: Prevent img loading lazy as default (#1954) (122ab57)
  • default-theme: Set HTTP status code when accessing error page through SSR (#1944) (f3c1eba)
  • shopware-6-client: Add delete customer method to customer service (#1951) (844a18d)
  • error code handling (#1948) (a75276b)
  • shopware-6-client: add newsletter recipient endpoint (#1942) (25aaa9a)

Readme

Source

Shopware PWA composables

Vue 3 composables dedicated for Shopware.
Package implements Vue Storefront Next architecture and provides agnostic composables for eCommerce logic.

Installing

Using yarn:

$ yarn add @shopware-pwa/composables

Usage examples

this example uses @shopware-pwa/shopware-6-client package for loading product data

import { useProduct } from "@shopware-pwa/composables"

// in component
setup (props) {
  const productId = "hiufh3847fhb4y3uvf"
  const { product, search } = useProduct()
  search(productId)

  return { product }
},

FAQs

Last updated on 03 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc