Skip to content

Commit 7812ace

Browse files
clearer tokens docs for dev (#433)
1 parent fa1651e commit 7812ace

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ This module's entry point is a React component called `<PlotlyEditor />` which c
4141
This repo contains a [dev app](https://github.com/plotly/react-chart-editor/tree/master/dev) that depends on the components locally and is configured for hot reloading, for easy local development. A `jest`-based test suite is also included.
4242

4343
```
44+
cp accessTokens.tpl.js accessTokens.js # and edit to taste
4445
npm install
4546
npm start
4647
# hacking happens here

accessTokens.tpl.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// To use Satellite Maps in the Editor, Mapbox access tokens are required.
2+
// see https://www.mapbox.com/help/how-access-tokens-work/
3+
4+
const ACCESS_TOKENS = {
5+
MAPBOX: '',
6+
};
7+
8+
export default ACCESS_TOKENS;

0 commit comments

Comments
 (0)