Commit 57b8567c authored by Justin Ho's avatar Justin Ho

Add Vue app structure for integration overrides

Only init the app for now
parent 66b4b117
<script>
export default {
name: 'IntegrationOverrides',
props: {
overridesPath: {
type: String,
required: true,
},
},
};
</script>
<template>
<div></div>
</template>
import Vue from 'vue';
import IntegrationOverrides from './components/integration_overrides.vue';
export default () => {
const el = document.querySelector('.js-vue-integration-overrides');
if (!el) {
return null;
}
const { overridesPath } = el.dataset;
return new Vue({
el,
render(createElement) {
return createElement(IntegrationOverrides, {
props: {
overridesPath,
},
});
},
});
};
import initIntegrationOverrides from '~/integrations/overrides';
initIntegrationOverrides();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment