0.2.0 • Published 8 months ago
croct-nanostores v0.2.0
Installation
npm/yarn/pnpm install croct-nanostoresBasic usage
import { croct, croctContent } from 'croct-nano';
croct.plug({ appId: '00000000-0000-0000-0000-000000000000' });
const homeBanner = croctContent('home-banner', {
cta: {
link: 'https://demo.croct.com/product/e-commerce#trending',
label: 'SHOP NOW',
labelColor: '#ffffff',
backgroundColor: '#ff5353',
},
image: {
main: 'https://demo.croct.com/assets/e-commerce/images/ban-1.png',
background: 'https://demo.croct.com/assets/e-commerce/images/bg-1.jpg',
},
title: {
text: 'Complete Women Fashion Here',
color: '#000000',
},
preTitle: {
text: 'ULTIMATE COLLECTION',
color: '#565656',
},
});Contributing
Contributions to the package are always welcome!
- Report any bugs or issues on the issue tracker.
- For major changes, please open an issue first to discuss what you would like to change.
- Please make sure to update tests as appropriate.
Testing
Before running the test suites, the development dependencies must be installed:
pnpm installThen, to run all tests:
pnpm testBuilding
Before building the project, the dependencies must be installed:
pnpm installThen, build with
pnpm build0.2.0
8 months ago
0.1.0
9 months ago
0.1.0-beta.2
9 months ago
0.1.0-beta.1
9 months ago
0.1.0-beta.0
9 months ago