Skip to content

IvanShavliuga/vue-sample-svg-icons

 
 

Repository files navigation

Sample SVG Icon usage for Vue.js

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/

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

An opinionated example of how to use SVG icons in a Vue.js application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 96.0%
  • JavaScript 3.1%
  • HTML 0.9%