0.0.11 • Published 6 years ago

@xiara/core v0.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

@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

Xiara-app

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.