Skip to content

How to load asset_pack_path images into .vue #1256

Closed
@alexandesigner

Description

@alexandesigner

I'm trying to use images inside the .vue file

<img src="<%= asset_pack_path 'images/logo.svg' %>" />

How to use the tag asset_pack_path

NOTE: I know that using the relative path is possible, I'm just wondering if it's possible to use the tag inside .vue.erb

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