Skip to content

Commit

Permalink
Update get-started.md (#2428)
Browse files Browse the repository at this point in the history
docs: remove save flag from npm install commands

Co-authored-by: Chris Gervang <[email protected]>
  • Loading branch information
pReya and chrisgervang authored Dec 13, 2024
1 parent 08d4f52 commit 92706b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/get-started/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import TabItem from '@theme/TabItem';
<TabItem value="mapbox" label="Mapbox">

```bash
npm install --save react-map-gl mapbox-gl @types/mapbox-gl
npm install react-map-gl mapbox-gl @types/mapbox-gl
```

</TabItem>
<TabItem value="maplibre" label="Maplibre">

```bash
npm install --save react-map-gl maplibre-gl
npm install react-map-gl maplibre-gl
```

</TabItem>
Expand Down Expand Up @@ -129,7 +129,7 @@ import 'maplibre-gl/dist/maplibre-gl.css';
## Using with a Compatible Fork

```bash
npm install --save react-map-gl my-map-gl-fork
npm install react-map-gl my-map-gl-fork
```

Then override the `mapLib` prop of `Map`:
Expand All @@ -144,4 +144,4 @@ import 'my-map-gl-fork/path/to/style-sheet.css';
function App() {
return <Map mapLib={import('my-map-gl-fork')} />;
}
```
```

0 comments on commit 92706b7

Please sign in to comment.