mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-09 07:54:43 +00:00
35 lines
878 B
JavaScript
35 lines
878 B
JavaScript
import Vue from 'vue';
|
|
import Docs from './docs';
|
|
import './core/core';
|
|
import MdTheme from './components/mdTheme';
|
|
import MdInkRipple from './components/mdInkRipple';
|
|
import MdButton from './components/mdButton';
|
|
import MdButtonToggle from './components/mdButtonToggle';
|
|
import MdIcon from './components/mdIcon';
|
|
import MdBottomBar from './components/mdBottomBar';
|
|
import MdToolbar from './components/mdToolbar';
|
|
import MdSidenav from './components/mdSidenav';
|
|
import MdAvatar from './components/mdAvatar';
|
|
import MdList from './components/mdList';
|
|
|
|
Vue.use(MdInkRipple);
|
|
Vue.use(MdButton);
|
|
Vue.use(MdButtonToggle);
|
|
Vue.use(MdIcon);
|
|
Vue.use(MdBottomBar);
|
|
Vue.use(MdToolbar);
|
|
Vue.use(MdSidenav);
|
|
Vue.use(MdAvatar);
|
|
Vue.use(MdList);
|
|
|
|
Vue.use(MdTheme, {
|
|
'bottom-bar': {
|
|
primary: 'teal'
|
|
}
|
|
});
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: 'body',
|
|
components: { Docs }
|
|
});
|