How to use single component?
kodekoder opened this issue · comments
kodekoder commented
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)
Eduardo San Martin Morote commented
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 🙂
kodekoder commented
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?
Eduardo San Martin Morote commented
It's a component, register it locally or globally. For usage you can check
the test, I have an extensive test suite so you'll be able to see how
components can be used. I'm still working on the docs at www.vue-mdc.js.org
Don't forget to include the relevant css 😁
…On Fri, 9 Jun 2017, 10:03 ᛃ, ***@***.***> wrote:
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?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#209 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAoicTYCnc7D1aSxu6SU1w3ROAWB9uZTks5sCPxTgaJpZM4N0e8c>
.