1.0.0 • Published 3 years ago

web-tc-component-library v1.0.0

Weekly downloads
-
License
Commercial
Repository
-
Last release
3 years ago

Web Component Library

Usage

  1. Install the dependencies with npm ci
  2. Use npm run storybook for development
  3. Use npm run build to compile the library to update it in external projects that have it installed locally

Adding to a project locally

  1. In the project folder, run npm install <location of web-component-library>
  2. 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.