mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
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.
17 lines
401 B
17 lines
401 B
import Vue from 'vue';
|
|
import Projects from './projects.vue';
|
|
|
|
new Vue({
|
|
el: '#projects_root',
|
|
|
|
components: { Projects },
|
|
|
|
data: {
|
|
djangoContext: {
|
|
username: JSON.parse(document.getElementById('django.username').textContent),
|
|
isSuperuser: JSON.parse(document.getElementById('django.is_superuser').textContent),
|
|
},
|
|
},
|
|
|
|
template: '<Projects v-bind="djangoContext" />',
|
|
});
|