/rails-hypernova-webpack-sample

Sample project for Hypernova and Webpack on Rails

Primary LanguageJavaScriptMIT LicenseMIT

Sample Project for Hypernova and Webpack on Rails

Features

  • Hypernova for UniversalJS.
  • Webpack for bundle Javascript code in es2015 and React.
  • Multi apps/pages support.
  • Keep things simple and concise.

Install

bundle && npm i

Start Servers

Start Rails Server:

npm start

Start Hypernova Server:

npm run hypernova

Build Javascript

Build client bundle:

npm run build

Build server bundle:

npm run build:server

TODO

  • Add Karma and Enzyme for testing
  • Redux support
  • CSS Module support