main html markup src/index.html
Node js is required Node.js to be installed on your system. My node version is 16.15.0
Install Live server extenstion for VSCode or use any local or live sever. https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
run the sever from src/index.html
Some svgs linked with sprite.svg so will not render unless local server is on.
-
Install needed dependencies
npm install
-
scripts available
To compile, output, watch and minified the scss files run the following in your terminal.
npm run scss
To create the sprite for the SVG files run the following command. add the svg files needed to added to the sprite.svg into the sprite folder
npm run sprite