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

23 lines
438 B
JavaScript

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);
},
});
};