UNPKG

vue-markdown-editor-orh

Version:
17 lines (11 loc) 331 B
import MarkdownEditor from './MarkdownEditor'; import Marked from './Marked'; const install = (Vue) => { Vue.component(MarkdownEditor.name, MarkdownEditor); Vue.component(Marked.name, Marked); }; // Auto install if (typeof window !== 'undefined' && window.Vue) { install(window.Vue); } export default { install };