(Solved) IMAGE vs img, wrong link transform (V3)

UI Components for Vue
Post Reply
alexWol
Posts: 4
Joined: 05 Jan 2017, 10:43

13 Sep 2021, 10:31

The usual img tag is working well, but i would like to use the Image widget. Then, i take:

<img src="./assets/1.png" alt="test" />
and
<Image src="./assets/1.png" alt="test" />
There's an import, compiling isn't a problem.

So in Chrome/Vivaldi/Safari i see:
img works well: <img src="/img/1.88743e65.png" alt="test">
but Image is broken:
<span class="p-image p-component"><img src="./assets/1.png" alt="test"><!----><!--teleport start--><!--teleport end--></span>

I have no idea what's the problem is. Does anybody know?
Last edited by alexWol on 23 Nov 2021, 14:07, edited 1 time in total.

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

16 Nov 2021, 14:25

According the your production build, please check your image folder path.

alexWol
Posts: 4
Joined: 05 Jan 2017, 10:43

23 Nov 2021, 14:07

Thanks, but you can see, there's the same source.

There's a solution, just use "required".

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests