Skip to content

itsanmax/commonuicomponents

Repository files navigation

React UI components - webpack based project

This project was generated with latest webpack 5 and React dependencies

Development server http://localhost:3000/

npm run start

build, will create dist folder with umd file

npm run build

To make available as a local global node modules inside @itsanmamx/react-ui-components. It should be one time process.

npm link

To use it inside any other project via npm link and will be available in your project node modules, run below command. It should be one time process.

npm link @itsanmax/react-ui-components

To use via npm server, use below commands. It will be available in package.json:

npm install @itsanmax/react-ui-components

To run it as a storybook, run below commands and open http://localhost:6006/ in browser

npm run storybook

References:

https://medium.com/@abuduabiodunsulaiman/setup-react-app-with-webpack-ts-and-js-da80cf3b7278

https://itnext.io/how-to-package-your-react-component-for-distribution-via-npm-d32d4bf71b4f

https://www.pluralsight.com/guides/export-reactjs-components-as-node-modules-to-npm

https://blog.bitsrc.io/sharing-react-components-across-multiple-applications-a407b5a15186

webpack/webpack-dev-middleware#205

https://www.freecodecamp.org/news/how-to-create-and-publish-your-first-npm-package/

https://rossbulat.medium.com/publish-private-npm-packages-with-proxy-registry-verdaccio-56b769bca659

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published