Skip to content

Commit

Permalink
Update docs with correct CSS embed link (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalling authored and Pessimistress committed Aug 12, 2019
1 parent a4191a9 commit 515c575
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/get-started/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ The current mapbox-gl release requires its stylesheet be included at all times.
You may add the stylesheet to the head of your page:
```html
<!-- index.html -->
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.42.0/mapbox-gl.css' rel='stylesheet' />
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v<YOUR_MAPBOX_VERSION>/mapbox-gl.css' rel='stylesheet' />
```

Find out your mapbox version by running yarn list mapbox-gl or npm ls mapbox-gl.

Or embed it in your app by using - [browserify-css](https://www.npmjs.com/package/browserify-css)
with Browserify or - [css-loader](https://webpack.github.io/docs/stylesheets.html) with Webpack:
```js
Expand Down

0 comments on commit 515c575

Please sign in to comment.