locomotive-site-builder-cli

Client for Locomotive Site Builder developers

Usage no npm install needed!

<script type="module">
  import locomotiveSiteBuilderCli from 'https://cdn.skypack.dev/locomotive-site-builder-cli';
</script>

README

Locomotive SiteBuilder CLI

Local tool to create themes/blocks for any Locomotive SiteBuilder platform.

Install

Make sure you've got nodeJS and Npm installed on your machine.

npm install -g bower
npm install -g brunch
npm install -g locomotive-site-builder-cli

In order to make sure the tool was correctly installed, type the following command:

locomotive version

It should return something >= 2.2.0.

Usage

First, you need to create a new project. A project is the entity above the themes. It might be useful if your themes share some same assets.

locomotive new  --projectName="<my project name>" --author="<your name>"

The command will generate the files you'll need to create your first themes and blocks.

For more information, open the README.md file inside the generated folder.

Contact

Feel free to contact us at contact at nocoffee dot fr.

License

Copyright (c) 2019 NoCoffee SARL, released under the MIT license