Skip to content

Commit 92706b7

Browse files
pReyachrisgervang
andauthored
Update get-started.md (#2428)
docs: remove save flag from npm install commands Co-authored-by: Chris Gervang <[email protected]>
1 parent 08d4f52 commit 92706b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/get-started/get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ import TabItem from '@theme/TabItem';
1313
<TabItem value="mapbox" label="Mapbox">
1414

1515
```bash
16-
npm install --save react-map-gl mapbox-gl @types/mapbox-gl
16+
npm install react-map-gl mapbox-gl @types/mapbox-gl
1717
```
1818

1919
</TabItem>
2020
<TabItem value="maplibre" label="Maplibre">
2121

2222
```bash
23-
npm install --save react-map-gl maplibre-gl
23+
npm install react-map-gl maplibre-gl
2424
```
2525

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

131131
```bash
132-
npm install --save react-map-gl my-map-gl-fork
132+
npm install react-map-gl my-map-gl-fork
133133
```
134134

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

0 commit comments

Comments
 (0)