Socket
Socket
Sign inDemoInstall

@shopware-pwa/composables

Package Overview
Dependencies
Maintainers
2
Versions
831
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-pwa/composables

@shopware-pwa/composables


Version published
Weekly downloads
179
decreased by-80.26%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 31 Mar 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc