I have successfully set up a webpack project using https://github.com/teroauralinna/webpack-guide. Now, I am looking to integrate https://github.com/lipis/flag-icon-css into my project. To do so, I followed these steps:
npm install flag-icon-css --save
This created dev dependencies in my package.json file:
"dependencies": {
"flag-icon-css": "^3.3.0"
},
In my index.html file, I added the following code:
<h1> Samples </h1>
<span class="flag-icon flag-icon-gr"></span>
<span class="flag-icon flag-icon-gr flag-icon-squared"></span>
However, only the text Samples
is visible, while the other two icons are not appearing. Are there additional settings required for the icons to display?