vuematerial/vue-material

Cannot use custom SVGs in bottom bar

JeswinSunsi opened this issue · 1 comments

I'm trying to put a custom SVG in md-icons, in the bottom bar component as so

Flight.svg is from google's official material icon pack, and it is saved properly in my assets folder. However, when I run the server, the icon is not visible, and my log says Uncaught (in promise) The file /assets/flight.svg is not a valid SVG.
Anything I'm missing here? I created the project with the Vue-cli (default Vue 2 application).

Plz, is your asset folder a sub-directory in the Public folder where you have your index.html?

You should check this if it isn't, i initially encountered same problem but making the change made icons to show.