We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99c096 commit 4ef42f1Copy full SHA for 4ef42f1
frontend/encore/reactjs.rst
@@ -6,7 +6,14 @@ Enabling React.js
6
7
Do you prefer video tutorials? Check out the `React.js screencast series`_.
8
9
-Using React? First enable support for it in ``webpack.config.js``:
+Using React? First add some dependencies with Yarn:
10
+
11
+.. code-block:: terminal
12
13
+ $ yarn add @babel/preset-react --dev
14
+ $ yarn add react react-dom prop-types
15
16
+Enable react in your ``webpack.config.js``:
17
18
.. code-block:: diff
19
0 commit comments