Skip to content

Instantly share code, notes, and snippets.

@andrewclo
Created May 11, 2023 23:21
Show Gist options
  • Save andrewclo/a0c553911cc3690465f79f5a5b4a1198 to your computer and use it in GitHub Desktop.
Save andrewclo/a0c553911cc3690465f79f5a5b4a1198 to your computer and use it in GitHub Desktop.
Vue FSLightbox
import { FsLightbox } from 'fslightbox-vue/v3';
export const productSelector = () => {
const { createApp } = window.Vue;
const vueSelector = createApp({
name: 'Product Selector',
delimiters: ['${', '}'],
data() {
return {
toggler: false,
};
},
components: {
FsLightbox,
},
mounted() {},
});
// vueSelector.component(FsLightbox);
// vueSelector.component('fs-lightbox', FsLightbox);
vueSelector.mount('#selector');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment