How to Easily Share and Consume React Components Using Bit

added by JavaScript Kicks
5/16/2019 7:45:16 AM

870 Views

First, we install the create-react-app CLI globally in our machine: npm i create-react-app -g Install the Bit CLI tool: npm i bit-bin -g Next, we scaffold our React project: create-react-app react-components Move into the directory: cd react-components Our components will be contained in the components folder, so we create it:


0 comments