This example is to show how to use Spritify npm packge
Clone or download this repo and run it in your local machine to see how it works.
1 - Open your terminal and clone the repo into you local machine:
git clone git@github.com:shadiabuhilal/spritify-example.git
cd ./spritify-example
2 - Install NPM packages
npm i
3 - Build assets, this will create the new sprites using Spritify npm packge: option #1 (using spritify programaticly)
npm run build
option #2 (using spritify in cli)
npm run build-cli
4 - Run the APP.
npm start
5 - open your browser and enter http://localhost:3000
Copyright 2017, Yahoo Holdings.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.