Skip to content

Commit

Permalink
docs: update the command to install the component (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ner79 authored Jul 29, 2022
1 parent b4db0c6 commit b507312
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ A official [React](https://reactjs.org/) component for AsyncAPI 2.0 specificatio

<!-- toc -->

- [Overview](#overview)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Using in React](#using-in-react)
- [Using in other technologies](#using-in-other-technologies)
- [Props](#props)
- [Features](#features)
- [Styles](#styles)
* [Default styles](#default-styles)
* [Custom styles](#custom-styles)
* [Custom logo](#custom-logo)
- [Default styles](#default-styles)
- [Custom styles](#custom-styles)
- [Custom logo](#custom-logo)
- [Playground](#playground)
- [Modules](#modules)
- [Development](#development)
Expand All @@ -48,7 +49,7 @@ A official [React](https://reactjs.org/) component for AsyncAPI 2.0 specificatio
Run this command to install the component in your project:

```sh
npm install --save @asyncapi/react-component
npm install --save @asyncapi/react-component@next
```

Check out this simple sandbox application that uses the React component:
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you wanna use the React AsyncAPI component in your Angular project, you have
First read the [Readme](../../Readme.md) document and install the React AsyncAPI component by:

```sh
npm install --save @asyncapi/react-component
npm install --save @asyncapi/react-component@next
```

### Usage
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Read the document to find out how to use React AsyncAPI component in the NextJS
First read the [Readme](../../Readme.md) document and install the React AsyncAPI component by:

```sh
npm install --save @asyncapi/react-component
npm install --save @asyncapi/react-component@next
```

## Usage without SSR/SSG (dynamic documentation)
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/standalone-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ If you are not using React you may want to use the Standalone Bundle of AsyncAPI
Run this command to install the component in your project:

```sh
npm install --save @asyncapi/react-component
npm install --save @asyncapi/react-component@next
```

## Usage in frameworks
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ If you wanna use the React AsyncAPI component in your Vue project, you may want
First read the [Readme](../../Readme.md) document and install the React AsyncAPI component by:

```sh
npm install --save @asyncapi/react-component
npm install --save @asyncapi/react-component@next
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/web-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ If you are not using React you may want to use the `@asyncapi/web-component` com
Run this command to install the component in your project:

```sh
npm install --save @asyncapi/web-component
npm install --save @asyncapi/web-component@next
```

Check out this simple sandbox application that uses the Web Component in Angular project:
Expand Down

0 comments on commit b507312

Please sign in to comment.