@getconfection/confection-vue-cable
Version:
## About [Confection](https://confection.io/) collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good
13 lines (9 loc) • 332 B
JavaScript
import Vue from "vue";
import Confection from "./Confection.vue";
import wrap from '@vue/web-component-wrapper';
Vue.config.productionTip = false;
const CustomElement = wrap(Vue, Confection);
window.customElements.define('confection-generator', CustomElement);
new Vue({
render: (h) => h(Confection),
}).$mount("#confection");