open-index/open-npm huggingface dataset:
npm package: @lotify/sales-channel-components
Description: ## Install
Latest version: 0.2.49

# sales-channel-components

## Install

To add the components to your sales channel.

```js
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.

```js
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](https://cli.vuejs.org/config/).


## Deploy using tags
Commit a tag to publish in our pipeline