@daffodil/category
v0.93.0
Published
Platform-agnostic models, state management, and drivers for retrieving and interacting with ecommerce categories. Part of the Daffodil ecommerce framework.
Readme
@daffodil/category
@daffodil/category manages the graphQL calls, state, selectors, and models for single category calls.
Overview
@daffodil/category currently supports both a Magento driver and an in-memory driver for local development.
Installation
To install @daffodil/category, use the following commands in the terminal.
Install with npm:
npm install @daffodil/category --saveInstall with yarn:
yarn add @daffodil/categoryGetting started
Using in-memory web API
Import the DaffCategoryInMemoryDriverModule.forRoot() into your root component.
Using Magento backend
Import the DaffCategoryMagentoDriverModule.forRoot() into your root component.
