-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add as local component #4
Comments
@Turqueso Yeah, sure. You can basically just import it into your component and register it via components prop: import VueTypedJs from 'vue-typed-js'
new Vue({
el: '#app',
components: { 'vue-typed': VueTypedJs }
}) Something like this should work. |
Hey, so I'm on Vue CLI 3, and found in order to add it as a local component, I actually had to import it like this:
Otherwise, if I was importing it in the standard way:
Not sure if this coming from the way my project is set up, but wanted to put it out there in case anyone else is running into the same issue. |
@denisewalter Thanks...i had the same issue |
Same issue here |
Also had this issue - Is this package even maintained anymore? |
You should import it into your component like this: |
Can this be added as a local component?
The text was updated successfully, but these errors were encountered: