-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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 [Vue warn]: Component is missing template or render function issue #14
Comments
Do not use |
Hi @Native1989 - I'm taking a look at improving this now so that you can import directly in the component. Apologies for any confusion. Thanks! |
I got the same error in VuePress 2. How to fix it? I registered LottieAnimation component in config.ts
And try to use it in README.md
But get error
|
same in quasar, doesn't work |
|
I have now updated the package so this should be resolved - let me know! https://github.com/garbit/lottie-web-vue/releases/tag/v2.0.7 |
Hi,
Fairly sure this is me doing something wrong, but I've installed lottie-web-vue using:
npm install lottie-web-vue
I'm using vue version 3.2.36
I've followed the instructions to import the library in my main.js file:
import LottieAnimation from "lottie-web-vue";
And:
In my template I then have:
The @/assets/rainbow.json is the example from here: https://lottiefiles.com/38726-stagger-rainbow
It's in the correct folder.
However whenever trying to load the lottie file I get the following error in the javascript console, and the animation fails to load:
Not sure where I'm going wrong - and was hoping someone could point me in the right direction 😅?
The text was updated successfully, but these errors were encountered: