Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/diego-d5000/powerbi-angular2

Angular (Angular 2, Angular io) components based on "PowerBI-Angular" and "PowerBI-Javascript" to use PowerBI Embedded Features
https://github.com/diego-d5000/powerbi-angular2

angular angular2 powerbi powerbi-embedded

Last synced: 3 months ago
JSON representation

Angular (Angular 2, Angular io) components based on "PowerBI-Angular" and "PowerBI-Javascript" to use PowerBI Embedded Features

Awesome Lists containing this project

README

        

# angular2-powerbi

## Installation

To install this library, run:

```bash
$ npm install angular2-powerbi --save
```

## Consuming the library

from your Angular `AppModule`:

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { PowerBIModule } from 'angular2-powerbi';

@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,

// Specify your library as an import
PowerBIModule.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
```

Once your library is imported, you can use its components:

```xml


{{title}}



```

## Development

To generate all `*.js`, `*.d.ts` and `*.metadata.json` files:

```bash
$ npm run build
```

To lint all `*.ts` files:

```bash
$ npm run lint
```

## License

MIT © [Diego Plascencia](mailto:[email protected])