summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/operation_settings/index.js
blob: f075291ce98e024f3384910c1861c4c5956b1bf5 (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 ExternalDashboardForm from './components/external_dashboard.vue';

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

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