@kangc/v-md-editor
Version:
A markdown editor built on Vue
27 lines (21 loc) • 618 B
JavaScript
// This file is auto generated by build/build-entry.js
import Component from './codemirror-editor.vue';
import xss from '@/utils/xss/index';
// font css
import '@/assets/css/font';
const version = '2.2.2-beta.1';
const install = (app) => {
app.component(Component.name, Component);
};
Component.version = version;
Component.install = install;
Component.xss = xss;
Component.use = function (optionsOrInstall, opt) {
if (typeof optionsOrInstall === 'function') {
optionsOrInstall(Component, opt);
} else {
optionsOrInstall.install(Component, opt);
}
return Component;
};
export default Component;