Skip to content

A template for creating a react package. Read the article on dev.to/emeka to learn more

License

Notifications You must be signed in to change notification settings

codenaz/create-react-package-tutorial

Repository files navigation

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

About

A template for creating a react package. Read the article on dev.to/emeka to learn more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published