Setup A Development Environment
Create your react project
Collux does not require any special project configuration. You can use any react starter kit/template. In this document, we will use Create React App starter kit from facebook.
npm install -g create-react-app
create-react-app my-app
cd my-app/
Install dependencies
Install collux dependency
npm install collux --save
Install collux dev tool
npm install --save-dev collar.js-dev-webclient collar-dev-server
Optional, you can install collar-dev-server globally too
sudo npm install -g collar-dev-server