Vuesax: Binding image in card with relative url

Created on 17 Jul 2018  路  2Comments  路  Source: lusaxweb/vuesax

Os: linux
Node: 8.11.3
Vuesax: 3.1.43
PM: yarn 1.7

The API returns image thumbnail relative url:
"/uploads/images/photo1_thumb.jpg"

It works when consumed within clean Vue:
<img v-bind:src='image.thumb' >

but not when I try using it in in Vuesax like this:
<vs-card-media vs-media='image.thumb'></vs-card-media>
or
<vs-card-media vs-media={{ image.thumb }}></vs-card-media>

bug

Most helpful comment

It works.
<vs-card-media :vs-media='image.thumb'></vs-card-media>
<vs-card-media v-bind:vs-media='image.thumb'></vs-card-media>

All 2 comments

In the update of the vs-card component, I will solve the problem. Thank you very much when you update it.

It works.
<vs-card-media :vs-media='image.thumb'></vs-card-media>
<vs-card-media v-bind:vs-media='image.thumb'></vs-card-media>

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jsinhSolanki picture jsinhSolanki  路  3Comments

alexflorea2 picture alexflorea2  路  4Comments

eusonlito picture eusonlito  路  3Comments

hahuy95 picture hahuy95  路  3Comments

CaptainCannabis picture CaptainCannabis  路  3Comments