We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting an error :
[Vue warn]: Failed to resolve component: XyzTransition
My Setup:
"nuxt": "^3.3.1",
File: anim-xyz.client.js
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.
nuxt.config.ts
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?
The text was updated successfully, but these errors were encountered:
Hey, I am trying to add AnimXYZ in my nuxt3 application too, did you make it work or? I registerd as plugin but it isn't working,
Sorry, something went wrong.
You guys can add it as plugin, for example:
plugins/animxyz.client.ts
import VueAnimXyz from '@animxyz/vue3' import '@animxyz/core' export default defineNuxtPlugin(({ vueApp }) => { vueApp.use(VueAnimXyz) })
No branches or pull requests
Getting an error :
My Setup:
File:
anim-xyz.client.js
Tried adding build transpile in
nuxt.config.ts
but not working.Also tried adding animxyz css in
nuxt.config.ts
but doesn't work:Nothing works. Any ides?
The text was updated successfully, but these errors were encountered: