A demo to show how I prefer to set up an SVG icon system in Vue.js. You can see a demo live here. You don't have to do it this way, it's an opinionated example. More details for why it's set up in this manner in the Vue Cookbook (coming this week). https://codepen.io/ivanshavliuga/pen/OJXNaQX https://IvanShavliuga.github.io/vuesvgicons/
npm install
npm run serve
npm run build
npm run lint
For a detailed explanation on how things work, check out the guide and docs for vue-loader.