Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 619 Bytes

File metadata and controls

12 lines (9 loc) · 619 Bytes

A template for creating your react package.

Guide

  • Replace the content in src/lib with your own component or library.
  • Test run your library by importing in App.js and running npm start.
  • Specify entry file in rollup's config input property (rollup.config.js).
  • Run npm run build to bundle.
  • run npm link and npm link <package-name> from the root of your project to test bundle.
  • Test run your bundle by importing into App.js from the package name and running npm start.

To learn more. Read the article