@daffodil/category
v0.78.0
Published
An ecommerce categories package that has multi-platform support and state management features.
Downloads
480
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 --save
Install with yarn:
yarn add @daffodil/category
Getting 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.