Is there any way to render Material Icons that I have been using through CDN like this?
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
It displays the icon name rather than the actual icon.
Thanks!
Please make a demo project that we can debug based on this repo: https://github.com/styleguidist/example
@Harshit369 you can add a styleguide.config.js
and within it:
export {
template: './template.html'
}
In template.html add <link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"> within the head tag.
@sidharthmehra Thanks a lot !! It worked very well.
Just for anybody following this thread, you also have to add:
<div id="app"></div>
inside your <body> In your template.html file. Otherwise, it will throw something like this:

More correct would be: you should not remove it.
Most helpful comment
@Harshit369 you can add a styleguide.config.js
and within it:
In template.html add
<link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons">within the head tag.