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 d763d8e commit 7a13fa1Copy full SHA for 7a13fa1
app/views/welcome/index.html.erb
@@ -1,2 +1,2 @@
1
-<h1>Welcome#index</h1>
2
-<p>Find me in app/views/welcome/index.html.erb</p>
+<%= javascript_pack_tag 'application' %>
+<%= react_component 'Post', { title: 'A working react component', body: 'Simple but effective' }, prerender: true %>
0 commit comments