posva / vue-mdc

Material web components for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use single component?

kodekoder opened this issue · comments

Hi.
The whole sense of MDC is ability to use not whole library, but curtain components. Is this available in vue-mdc? I didn't fin answer in Docs (since there's none)

You can import them from the src (you need to setup scss loader with node_modules) or you can import components import { Button } from 'vue-mdc'
Both things will be explained in the docs 🙂

you can import components import { Button } from 'vue-mdc'

And what's next? How to register it? A component? What markup should be? Where's docs?