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

index.js « whats_new « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9ee3404d2a83adf16303c57bd28762ecf21524b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import Vue from 'vue';
import App from './components/app.vue';
import Trigger from './components/trigger.vue';
import store from './store';

export default () => {
  // eslint-disable-next-line no-new
  new Vue({
    el: document.getElementById('whats-new-app'),
    store,
    components: {
      App,
    },

    render(createElement) {
      return createElement('app');
    },
  });

  // eslint-disable-next-line no-new
  new Vue({
    el: document.getElementById('whats-new-trigger'),
    store,
    components: {
      Trigger,
    },

    render(createElement) {
      return createElement('trigger');
    },
  });
};