@lotify/sales-channel-components
v0.2.49
Published
## Install
Readme
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 installAdd to local projects for development
To develop new components or edit current components
- Run
yarn build - Run
yarn link - In your sales channel run
yarn link "@lotify/sales-channel-components". - 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 buildRun your unit tests
yarn test:unitLints and fixes files
yarn lintCustomize configuration
Deploy using tags
Commit a tag to publish in our pipeline
