1234567891011121314151617181920 |
- import './static/kity'
- import './static/kityminder.core.min'
- import "hotboxkit/less/hotbox.less"
- import Editor from './minder'
- const MindEditor = {
- Minder: Editor
- };
- const install = function (Vue, opts = {}) {
- Object.keys(MindEditor).forEach((key) => {
- Vue.component(key, MindEditor[key]);
- });
- };
- // auto install
- if (typeof window !== 'undefined' && window.Vue) {
- install(window.Vue);
- }
- export default Object.assign(MindEditor, {install}); // eslint-disable-line no-undef
|