Import components From Github
- If your framework is Angular install the Angular Elements using
npm install @angular/elements --save
in your codebase. - Create
locofy.config.json
at 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.json
will be pulled into the Locofy Plugin. - If you want to resync the component library, update the
locofy.config.json
in the repository if required and press Sync on the component mapping screen.
Note: Learn how to structure your locofy.config.json
file here.