Ready to deploy Heroku, Rails and React setup.
- Activated with this command:
bundle exec rails webpacker:install:react
https://github.com/rails/webpacker/blob/master/docs/integrations.md#react
Rails.application.routes.draw do
root 'pages#index'
get '*path', to: 'pages#index', via: :all
end
- React linter activated for
/app/javascript
folder only.
npm test