Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Can't use Vue with API 3.2.0.

I've been working on updating our visuals from the 2.6.2 API to 3.2.0. Everything is going smoothly except for a couple visuals which use Vue. These were working smoothly under 2.6.2 but now display nothing. In development mode I get the console notice that Vue is loading in development mode, but otherwise no console notices, and none of my code, neither in the visual.ts constructor or the update function, is ever run.

One key difference in these visuals (besides using Vue) is that they use the powerbi-visuals-webpack-plugin package to roll their own webpack configuration. Our webpack file is very similar to the template in the package's readme, with bits added for Vue compilation.

I ran a diff on the .tmp folders created when the two versions are built and the output is exactly the same except for the API version number.

Is there a difference in the way Power BI treats visuals declaring the 3.2.0 API (besides enabling some features)?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Turns out this had nothing to do with Vue. At 3.2 the way Power BI consumes visual code changed, so some different config is necessary. This is detailed in the readme for the powerbi-visuals-webpack-plugin, though I found I needed an additional change to get everything working: https://github.com/microsoft/powerbi-visuals-webpack-plugin/issues/59.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Turns out this had nothing to do with Vue. At 3.2 the way Power BI consumes visual code changed, so some different config is necessary. This is detailed in the readme for the powerbi-visuals-webpack-plugin, though I found I needed an additional change to get everything working: https://github.com/microsoft/powerbi-visuals-webpack-plugin/issues/59.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.