Webpack

    Rails + React + WebPack 환경 세팅 및 React 사용해보기

    yarn add react react-dom react-prop-types react-router-dom semantic-ui-react react_ujs yarn add babel-core babel-loader babel-preset-env babel-preset-react babel-preset-stage-1 css-loader style-loader html-webpack-plugin webpack webpack-dev-server webpack-cli -D httgem 'webpacker' gem 'react-rails'$ bundle install $ rails webpacker:install # OR (on rails version < 5.0) rake webpacker:install [we..