- Checkout the repository
git clone [email protected]:joetower/decoupled-days-styleguide.git
- Change into (from terminal) the directory of the repository
cd decoupled-days-styleguide
- Using
nvm
runnvm use
to pull in the node version from.nvmrc
. - Run
npm install
- Make sure Gulp in installed globally
npm i -g gulp
- Run
gulp
- Browersync should automatically open
localhost:8000
To manage icons we're using gulp-svg-sprite
.
Adding new SVG icons is as simple as:
- Add an SVG to the
/img/icons/
directory. - Run
gulp sprite-shortcut
to regenerate the sprite orgulp sprite-page
to regenerate the html reference page. - All icons ge generated into a sprite page at
/sprite/sprite.svg
.