webpack-contrib / svg-inline-loader

Inline SVG loader with cleaning-up functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svg inject in html

dedegkaev opened this issue · comments

How do I import svg into html?

I personally think a more comprehensive example would be great in the README. In any case, these are some articles that helped me get to my current icon system :)

https://css-tricks.com/creating-svg-icon-system-react/
http://blog.goguardian.com/nerds/an-odyssey-to-find-a-sustainable-icon-system-with-svgs-in-react

Can you be more speicific? You mean regular HTML template or in something like React? You might want to know how a Webpack loader works, other than what this library does.