npm install
npm run dev
npm start
Open your browser to http://localhost:8080
If you want to develop with browser sync pass your site name to a bash variable
site=[site url here] npm run dev
Simply add an svg icon to the icons folder and it will get added to the svg sprite (symbol-defs.svg). Note: if an svg is malformed it will break the sprite. We're using svg-sprite-generator to generate the sprite.
<svg class="team__chevron">
<use xlink:href="/dist/symbol-defs.svg#chevron-down"></use>
</svg>
If you'd like to send high-density images to high-density displays like Retina displays and normal-density images to normal-density displays, the correct responsive image syntax is
<img srcset="cat.jpg, cat-hd.jpg 2x, cat-ultra-hd.jpg 3x alt="Cat">
Note: the picturefill package will polyfill this browser feature in IE11.