0.0.1 • Published 4 years ago
@k2omni/shopify-component-installer v0.0.1
shopify-component-installer
K2O Theme Component Installer
Getting Started
- Add private registry to
.npmrc
@k2o:registry=http://159.65.102.149:8081/repository/npm-private
- Install dependency:
$ npm install --save-dev @k2o/shopify-component-installer
- In your
gulpfile.js
:
const runComponentInstaller = require('@k2o/shopify-component-installer')
function installComponents (cb) {
runComponentInstaller({
baseDir: 'node_modules/@k2o',
stylesBaseDir: 'assets/styles',
scriptsBaseDir: 'assets/scripts'
})
cb()
}
- Run it
$ gulp installComponents
0.0.1
4 years ago