14 lines
265 B
JavaScript
14 lines
265 B
JavaScript
|
import Vue from 'vue';
|
||
|
import App from './components/app.vue';
|
||
|
|
||
|
export const initWorkItemsRoot = () => {
|
||
|
const el = document.querySelector('#js-work-items');
|
||
|
|
||
|
return new Vue({
|
||
|
el,
|
||
|
render(createElement) {
|
||
|
return createElement(App);
|
||
|
},
|
||
|
});
|
||
|
};
|