Skip to content
This repository has been archived by the owner. It is now read-only.
❗️ Project is looking for new contributors who can lead the project! :suspect:
Branch: master
Clone or download
Latest commit 474acb9 Jan 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets refactor dependencies Apr 3, 2016
dist build Aug 14, 2016
docs build Aug 14, 2016
src Bug fixes: compile md-options with v-for list Aug 14, 2016
.gitignore demo + nav fixes Mar 28, 2016
LICENSE.txt licence Mar 30, 2016
README.md Update README.md Jan 22, 2017
bower.json fix #28 bower Jun 19, 2016
demo.html Updated library.ts to use the `Vue.use` `install` syntax for installi… May 13, 2016
index.html
package.json 0.3.4 Aug 14, 2016
tsconfig.json badge component Mar 2, 2016
webpack.build.js demo + nav fixes Mar 28, 2016
webpack.config.js Added `bail: true` to webpack config to ensure errors cannot be overl… May 11, 2016

README.md

material-components

Demo + docs

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.

You can’t perform that action at this time.