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 24d8885 commit b0415e3Copy full SHA for b0415e3
README.md
@@ -72,6 +72,12 @@ This gives you:
72
- [`ReactRailsUJS`](#ujs) setup in `app/javascript/packs/application.js`
73
- `app/javascript/packs/server_rendering.js` for [server-side rendering](#server-side-rendering)
74
75
+Link the JavaScript pack in Rails view using `javascript_pack_tag` [helper](https://github.com/rails/webpacker#usage), for example:
76
+```
77
+<!-- application.html.erb -->
78
+<%= javascript_pack_tag 'application' %>
79
80
+
81
Generate your first component:
82
83
```
0 commit comments