Package Exports
- @getpara/core-components
Readme
component-library
Cross-framework common component library
Install
yarn installRunning
The component examples can either be run in React or bare HTML.
React
yarn build
yarn start-reactHTML
yarn start-htmlBuilding
This will build the component libraries for both web components and React.
yarn buildGenerating New Components
This should be used when adding new components to the library. It will initialize the component, test and styles.
Once run, follow the prompts to name your component.
Note Components MUST begin the the
cpsl-string in order for them to pass linting.
Note The styles should be changed to Sass once the component is generated. Rename the generated
cssfile toscssand update the import in the component.
yarn generate