debian-mirror-gitlab/app/assets/javascripts/profile/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
317 B
JavaScript
Raw Normal View History

2023-04-23 21:23:45 +05:30
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);
},
});
};