View source code of component folders (/default
, /jade
and etc) and compare them with rendered output.
Examples are made for SourceJS 0.5.4+ version.
- Install SourceJS.
- Install SourceJS plugins sourcejs-contrib-dss, sourcejs-jade, sourcejs-react.
- Checkout this repo contents as a nested folder in
sourcejs/user/specs
:
cd sourcejs/user/specs
git clone https://github.com/sourcejs/example-specs-showcase
Re-run SourceJS app, and open http://127.0.0.1:8080/specs/example-specs-showcase.
cd sourcejs
node app.js
open http://127.0.0.1:8080/specs/example-specs-showcase