@Xiara/Core
A Component based & Easy to use typescript web application framework heavily inspired by Angular2.
How to install
npm install @xiara/core --save
Need a webserver?
npm install @xiara/http --save
Boilerplate Project
https://github.com/azarus/xiara-boilerplate
App Structure
DI
To inject services or components use the
@Injectable
decorator
Example
@Injectable()
class MyService
{
}
@Component()
class MyComponent
{
constructor(public service: MyService)
{
}
}
Spawning Components
The component factory
let component = FComponentFactory.create<MyComponent>(MyComponent);
License
MIT
Quesiton? Problem? Bug?
Please open an issue.