Add React and TS to webpacker; add react-rails gem

This commit is contained in:
riggraz
2019-08-25 14:34:20 +02:00
parent 01cc6eb96a
commit 24339c0e08
14 changed files with 304 additions and 7 deletions

View File

@@ -1,2 +1,6 @@
<h1><%= @board.name %></h1>
<p><%= @board.description %></p>
<%=
react_component('Hello', { name: 'TypeScript on React on Rails' })
%>