- Clone the repo
- run
npm install && gulp && npm start
- Go to
localhost:3000
on your browser.
- Place SVGs in
src/svgs
. Illustrator outputs, Noun Project downloads, anything. - Run
gulp
, to merge all the SVGs into a single stack. - You can use the SVG sprite in 2 ways: As a CSS background image or by using and
xlink
in an<SVG>
tag (which can be styles via CSS). Review theindex.html
file for reference.