Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/diego-d5000/powerbi-angular2
- Owner: diego-d5000
- Created: 2017-07-10T17:02:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T08:30:48.000Z (almost 7 years ago)
- Last Synced: 2024-08-08T19:39:20.281Z (7 months ago)
- Topics: angular, angular2, powerbi, powerbi-embedded
- Language: TypeScript
- Size: 85 KB
- Stars: 10
- Watchers: 4
- Forks: 10
- Open Issues: 9
-
Metadata Files:
- Readme: README.MD
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])