Skip to content

Fails to find SVG's imported with ember-cli-node-assets addon #42

@ssylvia

Description

@ssylvia

I'm using ember-cli-node-assets addon which copies an icon library to my public folder at runtime. In my templates, I can use an standard image tag to load the SVG, but with the handlebars helper

{{!-- This works --}}
<img src="assets/calcite-web/img/icons/ui/share.svg" alt="">

{{!-- This does not work --}}
{{inline-svg "assets/calcite-web/img/icons/ui/share"}}

I get the following error:
screen shot 2017-04-28 at 10 09 03 am

I'm just using the default options. There's no entry in my ember-cli-build.js file.

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