debian-mirror-gitlab/app/assets/javascripts/profile/index.js
2023-04-23 21:23:45 +05:30

16 lines
317 B
JavaScript

import Vue from 'vue';
import ProfileTabs from './components/profile_tabs.vue';
export const initProfileTabs = () => {
const el = document.getElementById('js-profile-tabs');
if (!el) return false;
return new Vue({
el,
render(createElement) {
return createElement(ProfileTabs);
},
});
};