Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « history « import « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d540272c26615f5d4526d2f861a588a15179fbf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import Vue from 'vue';
import ImportHistoryApp from './components/import_history_app.vue';

function mountImportHistoryApp(mountElement) {
  if (!mountElement) return undefined;

  return new Vue({
    el: mountElement,
    name: 'ImportHistoryRoot',
    provide: {
      assets: {
        gitlabLogo: mountElement.dataset.logo,
      },
    },
    render(createElement) {
      return createElement(ImportHistoryApp);
    },
  });
}

mountImportHistoryApp(document.querySelector('#import-history-mount-element'));