Forum Discussion
PowerBI.Bootstrap not working, NPM Powerbi-Client 2.9.0
Hey all,
2.9.0 introduced a function called powerbi.bootstrap. I tried implementing it conform this article: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Bootstrap---For-Better-Performance
Afaik, I have all the correct versions and JS references set up to run bootstrap and PBI properly and I can only deduce that the function might not be included in the 2.9.0 version of NPM. Below are pictures of the code, versions and references.
Help would be much appreciated.
3 Replies
- AnonymousNot applicable
I'm having the same issue. Just downloaded the latest SDK 2.10.4 and powerbi.bootstrap does not seem to be there.
- AnonymousNot applicable
Hey,
Unfortunately I cannot recall how I got this to work. All I can tell you is that I use the CDN's for PowerBI, bootstrap, popper and JQuery. Make sure that the CDNs are in the correct order. Good luck.
- AnonymousNot applicable
Am facing same issue ,couldn't import bootstrap in react. have imported like
import { bootstrap } from 'powerbi-client';installed latest version - "powerbi-client": "^2.23.1",