Skip to content

v-bind:src=" ....imgurl..." not added to static/img? #267

@jesperlandberg

Description

@jesperlandberg

Hi,

When I'm using v-bind:src for images they show up as broken because they are not put in the build folder in /static/img/, as opposed to regular src="". Why is this and how do I fix it? I can't manually add stuff to the build folder because they are overwritten on build.

So to make it clear:
this works:
<img src="pathtoimg/img.jpg">

But this do not:
<img v-for="image in images" v-bind:src="image.url">

I have the same issue trying to access data from json files, I cant put them anywhere and access the data it seems? Because it's not in the build?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions