KyleAMathews/coffee-react-quickstart
소개
Quickstart for building React single page apps using Coffeescript, Gulp, Webpack, and React-Router
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCoffee React Quickstart
Quickstart for creating React.js web applications.
It has a number of nice goodies baked in including:
- Live reloading for both CSS and Javascript! This really speeds up development. Live reloading is powered by the Webpack module bundler and react-hot-loader projects.
- Write your JSX in Coffeescript thanks to coffee-react-transform.
- Amazing URL-driven-development (UDD) with the react-router project.
- Uses Gulp for building CSS and Javascript. Run
gulp watchfor rebuilding css/js on the fly while developing andgulp buildto create minified versions for deploying to production. - Includes sensible element stylings and several useful Sass plugins:
- Susy: best-of-breed grid system.
- modular-scale: easily create pleasing modular type scales.
- Sassy Buttons: flexible button styling.
- Breakpoint: Super simple media queries.
Install dependencies
Clone this repo and then after entering the new directory run npm install and bundle install. This will install the respective NPM and Ruby Gem dependencies.
You'll also need to have gulp installed globally to run the coffeescript gulpfile: npm install -g gulp
Development
Run in the root of your directory: npm run watch
This will watch the src directories and build on changes and placed the built css and js files in the public directory. It'll serve everything in the /public directory at localhost:8080
Then try editing src/scripts/hello_world.cjsx and see your changes magically show up in your browser with no page reload!
Production build
To build for production, simply run gulp build
Demo
Try out the example app included with this quickstart: http://kyleamathews.github.io/coffee-react-quickstart/
관련 프로젝트 살펴보기
불러오는 중…