mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-19 06:11:04 +00:00
Add theme installation
This commit is contained in:
parent
87e527976a
commit
f7be5396fd
1 changed files with 8 additions and 1 deletions
|
|
@ -57,10 +57,17 @@ Vue.material.theme.registerAll({
|
|||
accent: 'pink'
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
Apply your theme using <code>v-md-theme</code> directive:
|
||||
|
||||
``` html
|
||||
<div v-md-theme="'default'"></div>
|
||||
<div v-md-theme="'phone'"></div>
|
||||
```
|
||||
|
||||
## Changelog
|
||||
<a href="https://marcosmoura.github.io/vue-material/#/changelog" target="_blank">Link</a>
|
||||
```
|
||||
|
||||
## Build Setup
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue