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

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

24 lines
438 B
JavaScript
Raw Normal View History

2023-04-23 21:23:45 +05:30
import Vue from 'vue';
import UsageQuotasApp from './components/usage_quotas_app.vue';
export default () => {
const el = document.getElementById('js-usage-quotas-view');
if (!el) {
return false;
}
const { namespaceName } = el.dataset;
return new Vue({
el,
name: 'UsageQuotasView',
provide: {
namespaceName,
},
render(createElement) {
return createElement(UsageQuotasApp);
},
});
};