BitdevComponents easily managed with vscode:construction: This extension is still under developmentGetting startedStep 0: Things to keep in mindMake sure that you are inside the project that has bit (meaning the .bitmap is in the root folder of the workspace). Currently this is a limitation for now. Step 1: Installing bitYou can install Bit globally using this command:
Step 2: LoginTo login to your Bit.dev account follow these steps:
This command will create a new terminal instance and call Step 3: Init Bit project
In order to use Bit you just need to initialize your project. There is a command palette for this called:
Enjoy bitHappy coding! GuideCommands1. Init bit project
2. List componentsThis command will help you find your component's files easily.
Once you run it, it will show you all the components of your project. Clicking on one of the components, will prompt the diffrent files of that component. Choose the file that you want to open. 3. Add a componentBefore running this command make sure:
4. Import a componentIt's really easy to import a component, you just need to use this command
Example: if the owner is 'john', scope is 'react', sub-collection is 'components' and the component name is 'flex'
5. Login into bit.dev
TODO
ContributionTry to explore things yourself. We are open for improvements. |