Skip to content

rupeshmore/material-components

 
 

Repository files navigation

material-components

About

NPM

Usage

// 0. Require Vue
import Vue from 'vue'

// 1. Require the module
import VueMaterialComponents from 'vue-material-components'

// 2. Require the Materialize CSS (or import it in your HTML)
import 'vue-material-components/assets/css/materialize.min.css'

// 3. Install the plugin
Vue.use(VueMaterialComponents)
<!-- 4. Use it in a template -->
<md-button class="waves-effect waves-light">Hello, world!</md-button>

Change log

  • 0.2.0 Plugin now uses the Vue.use syntax.

  • Vue is now external dependency and must be linked before MaterialComponents

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.9%
  • TypeScript 22.9%
  • HTML 19.8%
  • CSS 7.4%