This is an example repo of building plugins. See this documentation link: https://stenciljs.com/docs/react
- Clone this repo: git clone https://github.com/ionic-team/stencil-ds-react-template react-rar-components.
- Update the
package.json
to have the correct package name for this repo (react-rar-components). - Replace
component-library
underdependencies
with your core stencil package name (yarn link rar-components)
- Build your core stencil package.
- Run build on this package.