Browse Source

Merge pull request #4357 from yangmillstheory/docfix

Warn against JSX transform failure for non-HTTP-served JSX
main
Paul O’Shannessy 10 years ago
parent
commit
48f5c4c9bc
  1. 2
      docs/getting-started.md

2
docs/getting-started.md

@ -64,6 +64,8 @@ Then reference it from `helloworld.html`:
<script type="text/jsx" src="src/helloworld.js"></script>
```
Note that some browsers (Chrome, e.g.) will fail to load the file unless it's served via HTTP.
### Offline Transform
First install the command-line tools (requires [npm](https://www.npmjs.com/)):

Loading…
Cancel
Save