Created
May 11, 2023 23:21
-
-
Save andrewclo/a0c553911cc3690465f79f5a5b4a1198 to your computer and use it in GitHub Desktop.
Vue FSLightbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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