3.0.3 • Published 4 years ago
appable v3.0.3
Install
npm install appable
Generate project
npx appable new my-app
Serve project
cd my-app
npm start
Generate Component
appable generate component counter
Interpolate and Bind
src/app/counter/counter.component.html
<button onclick="increment()">
${ counter }
</button>
Use Life Cycle
src/app/counter/counter.component.js
import { Component } from 'appable';
import template from './counter.component.html';
export class CounterComponent extends Component {
counter;
constructor() {
super('counter', template);
}
onInit() {
this.counter = 0;
}
increment() {
return this.counter++;
}
}
Route URL
src/index.js
RouterComponent
.add('/count', 'counter', CounterComponent)
.run(new AppComponent)
📘 Documentation
Read the documentation to learn about build, component, template,service and router usages: https://github.com/seeren/appable/wiki
©️ License
MIT Copyright Seeren
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
2.1.5
4 years ago
3.0.0
4 years ago
2.1.3
4 years ago
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.4
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.2.4
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.0
5 years ago
1.2.1
5 years ago
1.1.0
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago