Unverified Commit 16934fad authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Add a section on publishing components to npm

parent 4f0cdcff
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 5 additions and 0 deletions
+5 -0
...@@ -70,6 +70,7 @@ You can find the most recent version of this guide [here](https://github.com/fac ...@@ -70,6 +70,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
- [Developing Components in Isolation](#developing-components-in-isolation) - [Developing Components in Isolation](#developing-components-in-isolation)
- [Getting Started with Storybook](#getting-started-with-storybook) - [Getting Started with Storybook](#getting-started-with-storybook)
- [Getting Started with Styleguidist](#getting-started-with-styleguidist) - [Getting Started with Styleguidist](#getting-started-with-styleguidist)
- [Publishing Components on npm](#publishing-components-on-npm)
- [Making a Progressive Web App](#making-a-progressive-web-app) - [Making a Progressive Web App](#making-a-progressive-web-app)
- [Opting Out of Caching](#opting-out-of-caching) - [Opting Out of Caching](#opting-out-of-caching)
- [Offline-First Considerations](#offline-first-considerations) - [Offline-First Considerations](#offline-first-considerations)
...@@ -1699,6 +1700,10 @@ Learn more about React Styleguidist: ...@@ -1699,6 +1700,10 @@ Learn more about React Styleguidist:
* [GitHub Repo](https://github.com/styleguidist/react-styleguidist) * [GitHub Repo](https://github.com/styleguidist/react-styleguidist)
* [Documentation](https://react-styleguidist.js.org/docs/getting-started.html) * [Documentation](https://react-styleguidist.js.org/docs/getting-started.html)
## Publishing Components on npm
Create React App doesn't provide any built-in functionality to publish a component on npm. If you're ready to extract a component from your project so other people can use it, we recommend moving it to a separate directory outside of your project and then using a tool like [nwb](https://github.com/insin/nwb#react-components-and-libraries) to prepare it for publishing.
## Making a Progressive Web App ## Making a Progressive Web App
By default, the production build is a fully functional, offline-first By default, the production build is a fully functional, offline-first
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment