0

I have my rails 6 app using asset pipeline. Now in one module, I want to integrate react and for that I installed webpacker. After rails webpacker:install and rails g react:install , I created one component in app/javascipt/components directory. From my rails view, I called react component which I just created like <%=react_component('name')%>. But in my browser I get these errors, ss is attached for reference. enter image description here

Muhammad Ans
  • 157
  • 8

0 Answers0