Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerBI custom visual developed using Vue + TS. #220

Open
LasanthaKathriarachchi opened this issue Jan 30, 2023 · 0 comments
Open

PowerBI custom visual developed using Vue + TS. #220

LasanthaKathriarachchi opened this issue Jan 30, 2023 · 0 comments

Comments

@LasanthaKathriarachchi
Copy link

Hi Guys...

I have developed a simple PowerBI custom visual.
I made it using Vue + TS.
It has only one simple Vue template to display the text "Hello World".
I included the required "webpack.config.js" file also withing the project root. And it included with required loaders and plugins for Vue and TypeScripts.
Then I packaged it to PBIVIZ file using the command "npm dev start".
Then I imported the PBIVIZ file into PowerBI online and could successfully add into a PowerBI page. It works.
But then when I tried to import the same PBIVIZ file into PowerBI desktop version, it shows the error message "This PBIVIZ file is invalid file format".

Then I developed another simple custom custom visual having only the text display "Hello World", using only Angular + TS.
I packaged it using "pbiviz package" command.
It successfully imported to both PowerBI online and desktop versions. Also could add into page/report successfully.

As I understood, since Vue+TS visual is packaged using the configuration of "webpack.config.js" file. And that config file is by its name implies, for web/online, it doesn't support for powerbi desktop version.

Do we have another workaround to make a Vue+TS custom visual to import to and work in PowerBI desktop version too.

Thanks in advanced.
Lasantha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant