Skip to content

Commit 7076fa5

Browse files
committed
Update file names in README
1 parent 253037a commit 7076fa5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,13 @@ const Plot = createPlotlyComponent(Plotly);
207207

208208
## Loading from a `<script>` tag
209209

210-
For quick one-off demos on [CodePen](https://codepen.io/) or [JSFiddle](https://jsfiddle.net/), you may wish to just load the component directly as a script tag. We don't host the bundle directly, so you should never rely on this to work forever or in production, but you can use a third-party service to load the factory version of the component from, for example, [https://unpkg.com/react-plotly.js@latest/dist/create-plotly-component.js](https://unpkg.com/react-plotly.js@latest/dist/create-plotly-component.js).
210+
For quick one-off demos on [CodePen](https://codepen.io/) or [JSFiddle](https://jsfiddle.net/), you may wish to just load the component directly as a script tag. We don't host the bundle directly, so you should never rely on this to work forever or in production, but you can use a third-party service to load the factory version of the component from, for example, [https://unpkg.com/react-plotly.js@latest/dist/create-plotly-component.min.js](https://unpkg.com/react-plotly.js@latest/dist/create-plotly-component.min.js).
211211

212212
You can load plotly.js and the component factory with:
213213

214214
```html
215215
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
216-
<script src="https://unpkg.com/react-plotly.js@latest/dist/create-plotly-component.js"></script>
216+
<script src="https://unpkg.com/react-plotly.js@latest/dist/create-plotly-component.min.js"></script>
217217
```
218218

219219
And instantiate the component with

0 commit comments

Comments
 (0)