Import Components from Github
- If your framework is Angular install the Angular Elements using
npm install @angular/elements --savein your codebase. - Create
locofy.config.jsonat the root of your codebase. You can setup what to import in the configuration file. - Connect your Github account or using your github token.
- Select your Github responsitory
- Select your Github branch.
- Press the confirm button and all the components configured in
locofy.config.jsonwill be pulled into the Locofy Plugin. - If you want to resync the component library, update the
locofy.config.jsonin the repository if required and press Sync on the component mapping screen.
Note: Learn how to structure your locofy.config.json file here.