Created
October 6, 2022 12:01
-
-
Save igamov/6504ecb0d0b22ead64ba6cce114ea68c to your computer and use it in GitHub Desktop.
use fancyapps in nuxt3
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 { Fancybox } from "@fancyapps/ui/dist/fancybox.esm.js"; | |
import "@fancyapps/ui/dist/fancybox.css"; | |
export default defineNuxtPlugin((nuxtApp) => { | |
nuxtApp.vueApp.use(() => Fancybox) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment