You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
564 B

import Vue from 'vue';
import { demoTextClassification as data } from '../components/demo/demo_data';
import DemoApi from '../components/demo/demo_api';
import DocumentClassification from '../components/document_classification.vue';
Vue.use(require('vue-shortkey'), {
prevent: ['input', 'textarea'],
});
const demoApi = new DemoApi(data, 'label');
new Vue({
el: '#mail-app',
components: { DocumentClassification },
beforeCreate() {
demoApi.start();
},
beforeDestroy() {
demoApi.stop();
},
template: '<DocumentClassification />',
});