Vue Material Design Lite(mdl) components.
Wednesday, December 23, 2015
Vue MDL is a set of reusable Material Design Lite(mdl) components. Its purpose is to make it easy for everyone to use mdl by doing all the data binding and giving you the control over classes with props
Vue MDL is only available through
npm
. Install it:npm install --save vue-mdl
If you use a module bundler likewebpack orBrowserify, you can require it
var vmdl = require('vue-mdl');
and use it. Otherwise you can include it in your html:
<script src="//rawgit.com/posva/vue-mdl/master/dist/vue-mdl.js"></script>
Add
.min
to get the minified version:
<script src="//rawgit.com/posva/vue-mdl/master/dist/vue-mdl.min.js"></script>
You'll also need to include Material Design Lite. As it's not bundled with vue-mdl itself.
0 comments