@storefront/did-you-mean v2.9.0
StoreFront did-you-mean
StoreFront <gb-did-you-mean> component
Getting Started
This module requires @storefront/core for the component to render
and receive data from GroupBy microservices.
Prerequisites
This module is meant to be used in a node environment which is bundled for use in the browser.
Installing
Use npm or yarn to install in a node project that uses webpack, browserify or similar.
npm install --save @storefront/did-you-mean
# or
yarn add @storefront/did-you-meanUsage
This module provides the <gb-did-you-mean> component for use with StoreFront.
Mount tag
<!-- index.html -->
<body>
<gb-did-you-mean></gb-did-you-mean>
</body>// index.js
storefront.mount('gb-did-you-mean');Building the package
To build an individual package, run the following command:
yarn buildTo build an individual package in response to changes within the src directory, run the following command:
yarn devRunning tests
To test an individual packages, run the following command:
yarn testTo test an individual package in response to changes within the src and test directories, run the following command:
yarn tddLinting
To lint a package, run the following command:
yarn lintTo programmatically fix lint errors within a package, run the following command:
yarn lint:fixContributing
Read the contributing file to learn about how to contribute to the StoreFront project.
License
StoreFront and its related packages are MIT licensed.
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago