-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Getting an error :
[Vue warn]: Failed to resolve component: XyzTransition
My Setup:
"nuxt": "^3.3.1",
File: anim-xyz.client.js
import VueAnimXyz from '@animxyz/vue3'
import '@animxyz/core' // Import css here if you haven't elsewhere
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(VueAnimXyz)
})
Tried adding build transpile in nuxt.config.ts
but not working.
build: {
transpile: ["@animxyz/core", "@animxyz/vue3", "clsx"],
}
Also tried adding animxyz css in nuxt.config.ts
but doesn't work:
css: [
"~/assets/css/main.css",
"@animxyz/core",
"@animxyz/core/dist/animxyz.min.css",
],
Nothing works. Any ides?
caudurodev, oeguenes and MatanelGordon
Metadata
Metadata
Assignees
Labels
No labels