Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Recommended Setup

Ben Tinsley edited this page Jan 30, 2018 · 4 revisions

Blendid requires at least Node 6. While you can install Node a variety of ways, we highly recommend using nvm to install and manage Node versions.

We recommend yarn over npm for a few reasons: yarn.lock files are a lifesaver, modules install way faster, and yarn run for running package.json scripts and node_modules/.bin executables is a nice convenience. It's just better.

Init and Run tasks

Once you have made sure you are using the correct version of Node and have Yarn installed, in a new directory run:

yarn init

This will generate a package.json file. Follow the prompts, entering the appropriate information.

Once that is complete run:

yarn add blendid
yarn run blendid init

This will add the blendid package to your project and run an the init task to build out a template file structure, adding a src/ directory a config/ directory and a few . prefixed files to your root directory.

Once you have run the init file, you can simply run:

yarn run blendid

This will watch your files, compile them and live reload in the browser.

Check out the Commands tab for the full list of Blendid commands.

Clone this wiki locally