Handy2015 / material-components

Home Page:http://appcomponents.github.io/material-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  • 0.3.0 md-btn component

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

About

http://appcomponents.github.io/material-components

License:MIT License


Languages

Language:JavaScript 49.6%Language:TypeScript 23.3%Language:HTML 19.8%Language:CSS 7.3%