Vite.NET icon indicating copy to clipboard operation
Vite.NET copied to clipboard

Getting Started : production build seems to be pointing to the wrong url?

Open rosdi opened this issue 2 years ago • 1 comments

Hi,

I am following the Getting Started guide..., when I change to production build like so:

image

I am getting blank page, when I inspect the generated html, it is pointing to ClientApp\ClientApp\xxxxx as show in the screenshot below:

image

Looks like there's duplication there, the script won't load because the url is wrong. I just followed the guide as is, no changes.

rosdi avatar May 31 '23 05:05 rosdi

Ok..., I 'solved' this issue by cloning the ViteDotNet project and then add it as project reference into my project (and remove TechGems.ViteDotNet nuget reference).

Looks like the nuget package is 5 months old...

rosdi avatar May 31 '23 06:05 rosdi