0.0.1 • Published 9 years ago

ehr-ace-react v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
9 years ago

For Development

Gulp React Karma Mocha

To start do a clone of this repo and type in your terminal:

npm install

gulp dev

Then open the browser and type: localhost:8000. This will start webpack development server with hot code reload for React components.

To run tests continuously (TDD) type in:

gulp tdd

To run tests just once you can use:

gulp test

To build for production run:

gulp product

计划:

阶段1:

  1. index.html 继续使用全局 js/jquery
  2. 分拆 css,至少包括 base/grid 和 组件 css
  3. 分拆出常用组件,然后做出页面 live template component system

主要目的是:组件化、有 live system 可以专门 focus 在样式上

(希望CI出js/css,然后跑 screenshot test)

阶段2: 1. 组件使用 inline-css

阶段3: 1. jquery和react组合