I'm trying to embed Pwerbi report with Angular6 application. I read many article but none is for Angular 2 to 6. Can anyone please suggest me how to do it?
You can make use of the following example to embed your PowerBI report within an angular application.
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 { }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.