summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/operation_settings/index.js
blob: 426a060949ef11362af4e8712b6ecee65320cd81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Vue from 'vue';
import store from './store';
import MetricsSettingsForm from './components/metrics_settings.vue';

export default () => {
  const el = document.querySelector('.js-operation-settings');

  return new Vue({
    el,
    store: store(el.dataset),
    render(createElement) {
      return createElement(MetricsSettingsForm);
    },
  });
};