mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-18 12:11:07 +00:00
24 lines
491 B
JavaScript
24 lines
491 B
JavaScript
/* Code Components */
|
|
import MdTheme from './components/mdTheme';
|
|
import MdInkRipple from './components/mdInkRipple';
|
|
import CoreTheme from './stylesheets/core.theme';
|
|
|
|
/* Core Stylesheets */
|
|
import './stylesheets/core.scss';
|
|
|
|
export default function install(Vue) {
|
|
if (install.installed) {
|
|
console.warn('Vue Material is already installed.');
|
|
|
|
return;
|
|
}
|
|
|
|
install.installed = true;
|
|
|
|
Vue.material = {
|
|
styles: [CoreTheme]
|
|
};
|
|
|
|
Vue.use(MdTheme);
|
|
Vue.use(MdInkRipple);
|
|
}
|