Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

everplans/react-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

description

super boilerplate react-flux app with hot-loading enabled in dev. Uses:

  • babel for es2015, stage-1 syntax (but es5 works just fine).
  • weback
  • karma + mocha + chai for testing
  • fluxxed_up
  • stylus for css preprocessing

have fun!

setup

npm install

startup

npm run dev

see it!

http://localhost:3001/#/

Styles The stylus pre-processor comes included, with the webpack loaders. global.styl is already imported in the build, make whatever changes you want there.

Testing Karma using mocha, and the fluxxed_up TestRig are included. Check examples for how to write tests.

npm run test-watch

es6 or es5 There are examples for both styles, feel free to try either!

Where to start react-router powers routes. Checkout /main/lib/routes to add your own.

Or just render a component directly on the DOM, check that out over in ./app.js

Start by modifying /main/components/home/Home.react.js

About

React-fluxxed up boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.2%
  • CSS 4.3%
  • HTML 2.5%