0👍
For anyone who has this problem please try
Storage::getDriver()->getAdapter()->setPathPrefix('/your/prefix/here');
or
Storage::disk('discName')->getDriver()->getAdapter()->setPathPrefix('/your/prefix/here');
before saving your file
- [Vuejs]-Browser doesn't download the correct responsive image
- [Vuejs]-Reorder dom not binding to vue array instance?
-1👍
do that to create shortcut to storage/app/public
php artisan storage:link
save image
$file = $request->file('image')->store('images','public');
to get url of image example
<img :src="'/storage/' + response.imagePath">
- [Vuejs]-V-model in dynamic component
- [Vuejs]-How to bind the input field with vuejs by using template
Source:stackexchange.com