mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 09:25:42 +08:00
on -> to
This commit is contained in:
@@ -70,7 +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)
|
||||
- [Getting Started with Storybook](#getting-started-with-storybook)
|
||||
- [Getting Started with Styleguidist](#getting-started-with-styleguidist)
|
||||
- [Publishing Components on npm](#publishing-components-on-npm)
|
||||
- [Publishing Components to npm](#publishing-components-to-npm)
|
||||
- [Making a Progressive Web App](#making-a-progressive-web-app)
|
||||
- [Opting Out of Caching](#opting-out-of-caching)
|
||||
- [Offline-First Considerations](#offline-first-considerations)
|
||||
@@ -1700,9 +1700,9 @@ Learn more about React Styleguidist:
|
||||
* [GitHub Repo](https://github.com/styleguidist/react-styleguidist)
|
||||
* [Documentation](https://react-styleguidist.js.org/docs/getting-started.html)
|
||||
|
||||
## Publishing Components on npm
|
||||
## Publishing Components to 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.
|
||||
Create React App doesn't provide any built-in functionality to publish a component to 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user