You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# For Mac
npm install appdec-cli-osx --global
# For Windows
npm install appdec-cli-win --global
# For Linux
npm install appdec-cli-linux --global
# then
appdec create --name mymodule
appdec run --name mymodule --watch --server
<!DOCTYPE html><htmllang="en"><head><title>my com-item</title></head><body><com-item><!-- for fast rendering, style will be appended onLoad --><style>
my-box h3 {
font-size: 14px;
}
my-box div {
border: 1px solid gray;
}
</style><h3>Some description</h3><divclass="count">0</div><!-- on click .up or .down it will increment/decrement .count --><div><spanclass="up"> + </span><spanclass="down"> - </span></div><div><ahref="?state=reset">clear count</a><ahref="?state=destroy">destroy</a></div></com-item></body></html>
Its also possible to put <com-item></com-item> direct in the dom like:
<body><!-- It will render, see above (result in markup) --><com-item></com-item></body>
// init
npm install --global lerna
// install and test packages
make lerna-bootstrap
make lerna-test
// install and compile for browser tests
make install
make compile // required for node css fixture server
make test // and run this in separate window
Contributors guidelines (currently internal info)
build new binary on new version
Contributors guidelines (currently internal info)
// init
npm install --global lerna
// lerna-bootstrap for packages
lerna bootstrap -- --no-package-lock
// or make install for acceptance tests
cd packages/app-decorators
jspm install
cd ../..
make prepare-compile // ignore the :4000 error
make gulp-compile
// browser test
make test
// packages test
make lerna-test
// clean packages
make lerna-clean
make clean
git checkout packages/app-decorators/package.json
git checkout jspm.config.js
// when publish
- *1 update in package.json version
- update babel-preset-app-decorators to same in *1
- packages/app-decorators-todomvc update preset