according to the official parlance:
1.install
$ npm install vue-svg-icon --save-dev
my package.json
2.put your svg into src/svg/
this dir are not supported to be configured now
src folder should be in the same folder with node_modules
:
3.import vue-svg-icon in your main.js
main.js
4.use the svg icon in your vue!
:
OK ...
:
:
......HOLY
is there a great god with such a problem? How did you solve it?