Closed retroriff closed 8 months ago
When used with nuxt2, this library supports only ES Modules.
You should be able to use it by importing it in the following way.
import SwipeModal from "@takuma-ru/vue-swipe-modal"
or
const SwipeModal = await import("@takuma-ru/vue-swipe-modal")
If this did not solve the problem, please share the source code.
Thanks for your prompt answer. Now it works
With Nuxt 2 I get this error:
Any suggestion how to fix it?