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 c02e648Copy full SHA for c02e648
README.md
@@ -72,6 +72,13 @@ 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
+```
78
+<!-- application.html.erb -->
79
+<%= javascript_pack_tag 'application' %>
80
81
82
Generate your first component:
83
84
```
0 commit comments