Include Fonts and Icons
Use Roboto and Google Icons from Google CDN:
Use Roboto and Google Icons from Google CDN:
Install Vue Material through npm or yarn
* Others package managers like JSPM and Bower are not supported yet.
Download from Github and reference the script and the stylesheet in your HTML:
Import and use the whole library:
Or to import individual components:
Note: If you are using Webpack you can still import the css files inside your modules. And you can also write everything using ES6 with Babel or Bublé.
To get Vue Material working properly, you'll need to configure a default theme. You can also register multiple themes at once. Apply your theme on each code part that you want using v-md-theme directive: