You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SVG content in app.component.html renders as expected, so I can continue testing the use of data-bound SVG in Angular, but it seems that StackBlitz will want to support this functionality as intended.
Thank you for your patience - This issue has been resolved and will be closed accordingly. If this issue persists, feel free to tag me or ask to reopen this issue with screenshots of the error. Thank you! :)
As of Angular 8 beta 5, there is support for SVG files as component templates.
I'm trying to test this out on StackBlitz.com, but get the following error:
Repro steps:
templateUrl: "./app.component.svg",
Expected: SVG template should be recognized
Actual: Error message listed above is displayed in app browser.
Dependencies to update (paste the following string into dependencies input field):
Environment:
MacOS 10.14.3 (18D109)
Chrome 73.0.3683.103
https://stackblitz.com/edit/ng8-svg-template
SVG content in app.component.html renders as expected, so I can continue testing the use of data-bound SVG in Angular, but it seems that StackBlitz will want to support this functionality as intended.
For comparison, using .svg template files works on https://codesandbox.io/s/6lv2r28n4k
The text was updated successfully, but these errors were encountered: