santino
1 week ago

access Laravel Storage with VUE

Posted 1 week ago by santino

Hi Laracast community, please I am trying to get access to the laravel Storage via VUE...

But I can't find the way to do it... am using a Vue template component.

how can I make this works?

<img src="{{ Storage::url($service->image1) }}">

on this doc say that add this code https://stackoverflow.com/questions/55250712/how-to-access-image-from-storage-laravel-from-spa-with-vuejs

<img :src="'../storage/app/public/defaultImg.png'">

that doesent works

Please sign in or create an account to participate in this conversation.