Reputation: 96
How can I import PowerBI-JavaScript and it dependencies inside a Angular 4 application, and use it inside services and components.
Upvotes: 0
Views: 275
Reputation: 1009
Install from NPM:
npm install --save powerbi-client
than declare in your component like
import * as pbi from 'powerbi-client';
Upvotes: 1