@lotify/sales-channel-components

0.2.49 • Public • Published

sales-channel-components

Install

To add the components to your sales channel.

import SalesChannelComponents from '@lotify/sales-channel-components';

Vue.use(SalesChannelComponents);

Project setup

yarn install

Add to local projects for development

To develop new components or edit current components

  1. Run yarn build
  2. Run yarn link
  3. In your sales channel run yarn link "@lotify/sales-channel-components".
  4. Import sales-channel-components as a Vue plugin in your sales channel.
import SalesChannelComponents from '@lotify/sales-channel-components';
import SalesChannelComponentsDev from '@lotify/sales-channel-components/src/main';

const scc = process.env.NODE_ENV === 'development' ? SalesChannelComponentsDev : SalesChannelComponents;

Vue.use(scc);

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

Deploy using tags

Commit a tag to publish in our pipeline

Readme

Keywords

none

Package Sidebar

Install

npm i @lotify/sales-channel-components

Weekly Downloads

0

Version

0.2.49

License

none

Unpacked Size

9.41 MB

Total Files

215

Last publish

Collaborators

  • roypeters
  • hvanscherpenzeel
  • thijskoek