yarn build
yarn start
yarn lint
On project available svg sprite. All icons from assets/images/icons/sprite-...
folders will automatically include to HTML via js. Example usage:
<svg>
<use xlink:href="#<ICON-NAME>"/>
</svg>
sprite-complex
contain complex icons without elements formatting. Can be changed only size. Use for multi-colors, shadowed icons etc.
spite-simple
contain "one color" icons where elements are not intersect, can be changed color and size. Use for simple one color icons.
In case when you need a static file, look for comments in
For static sprite file
inwebpack.config.js
. And remove script fromsrc/js/main.js
Use src/styles/readme.md
for explanation of files structure in css.
Babel included so you are free to use ES6 syntax. Also use import\export for destructure main file.