1234567891011121314151617181920 |
- import 'vue-kityminder-gg/static/kity'
- import 'vue-kityminder-gg/static/kityminder-core'
- 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});
|