Skip to content

Image-Paths are now from root-path? #306

@DotCoyote

Description

@DotCoyote

Versions

vuejs: 2.0.0-beta.7
vue-loader: 9.3.0


Hi,

I used to load images directly from the component Folder in webpack:

/src
-- /components
---- /_organism
------- /Devices
--------- Devices.vue
--------- /_assets
----------- myImage.jpg

Devices.vue:

<template lang="pug">
    img(src="./_assets/myImage.jpg", alt="")
</template>

This worked great so far, but today I updated to vue2.0.0-beta.7 and vue-loader9.3.0, and now webpack wants to load the file from absolute domain: http://localhost:8080/_assets/myImage.jpg

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