@xiara/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @xiara/core

Weekly Downloads

1

Version

0.0.11

License

ISC

Unpacked Size

51 kB

Total Files

86

Last publish

Collaborators

  • azarusx