1.0.0 • Published 4 years ago
web-tc-component-library v1.0.0
Web Component Library
Usage
- Install the dependencies with
npm ci - Use
npm run storybookfor development - Use
npm run buildto compile the library to update it in external projects that have it installed locally
Adding to a project locally
- In the project folder, run
npm install <location of web-component-library> - Update your webpack/craco config alias to use
react: path.resolve('./node_modules/react')to ensure that the library uses the project's React path, and not its own.
1.0.0
4 years ago