product-collection v1.0.29
Clickable product collection
Bootstraped using https://github.com/UdiliaInc/create-react-library
Getting Started
Install package
npm i --save product-collection or yarn add product-collection
Add to your React application
import { Collection } from 'product-collection'
Render Collection component
<Collection collection={data} />
Example of collection data is in src/demo/data.js
Development setup
Clone repo
git clone https://github.com/prezola/product-collection.gitInstall dependencies
npm install or yarn install
Start development server
npm start or yarn start
Runs the demo app in development mode. Open http://localhost:3000 to view it in the browser.
Library files
All library files are located inside src/lib
Demo app
Is located inside src/demo directory, here you can test your library while developing
Testing
npm run test or yarn run test
Build library
npm run build or yarn run build
Produces production version of library under the build folder.
Publish library
npm publish
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