A full ES2015 universal/isomorphic SailsJS + ReactJS starter project with server and client side rendering, routing and styles.
Powered with Webpack (sails-hook-webpack
), React Router (sails-hook-react-router
),
and Babel, the project features Hot Module Reloading (HMR), automatic react-router
routes on the server and hot reloading of SailsJS routes, controllers and services.
Note: this is still a work in progress, but the general concept works.
- Git clone/fork or download the project.
npm install
.npm run build-watch
(watch the/src
directory for changes and build to/dist
).npm start
(start the SailsJS app from/dist
).- Open http://localhost:1337 and enjoy!
Currently only has a webpack dev setup. No production.