mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #5387 from MattijsKneppers/master
updated Basic Example with External JSX instructions
This commit is contained in:
committed by
Scott Feeney
parent
79732f04bf
commit
decfbdf1f5
@@ -18,8 +18,16 @@
|
||||
</p>
|
||||
</div>
|
||||
<h4>Example Details</h4>
|
||||
<p>This is written with JSX in a CommonJS module and precompiled to vanilla JS by running:</p>
|
||||
<pre>npm start</pre>
|
||||
<p>This is written with JSX in a CommonJS module and precompiled to vanilla JS by navigating to the example
|
||||
directory
|
||||
<pre>cd /path/to/react/examples/example-name</pre>
|
||||
and running
|
||||
<pre>npm start</pre>
|
||||
<br>
|
||||
(don't forget to install first)
|
||||
<pre>npm install</pre>
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
Learn more about React at
|
||||
<a href="https://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
|
||||
Reference in New Issue
Block a user