Package Exports
- appable
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (appable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Appable
Appable is JavaScript Library for building user interfaces and scale them effectively
Installation
npm install -g appable
appable new my-app
cd my-app
npm startIntroduction
Building: create, build and test app on web and mobile.
User Interface: generate views with interpollation, event binding, hooks and auto-rendering.
Scale: encapsulate components, share data with services and associate url.
Example
Generate a component
appable generate component counterTemplate is auto rendered, use interpolation and event binding:
src/app/counter/counter.component.html
<button onclick="increment()">${counter}</button>Component handle interaction, data and use life cycle:
src/app/counter/counter.component.js
export class CounterComponent extends Component {
constructor() {
super({ selector: "counter", template });
}
onInit() {
this.counter = 0;
}
increment() {
return this.counter++;
}
}Associate component to url:
src/index.js
RouterComponent
.add('/count', 'counter', CounterComponent)
.run(new AppComponent)đ Documentation
Read the documentation to learn about build, component encapsulation, service, router and other details.
Motivation
Curious about reduce complexity in component rendering and communication the project think about web and mobile app who have to make the job and take care about dependencie size.
ÂŠī¸ License
MIT Copyright 2020 Seeren