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
I cannot manage to import vue2vis component with a super basic setup :
<template> <div> <timeline ref="timeline" :items="items" :groups="groups" :options="options"> </timeline> </div> </template> <script> import Timeline from 'vue2vis' export default { name: 'MyTimeline', components: { Timeline }, data () { return { groups: [{ id: 0, content: 'Group 1' }], items: [{ id: 0, group: 0, start: new Date(), content: 'Item 1' }], options: { editable: true } } } } </script> <style scoped></style>
The error thrown is :
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
The text was updated successfully, but these errors were encountered:
I think you should either use a destructuring assignment like import { Timeline } from 'vue2vis' or simply import Timeline from 'vue2vis.Timeline'.
import { Timeline } from 'vue2vis'
import Timeline from 'vue2vis.Timeline'
Sorry, something went wrong.
Thanks, works with import { Timeline } from 'vue2vis'
No branches or pull requests
I cannot manage to import vue2vis component with a super basic setup :
The error thrown is :
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
The text was updated successfully, but these errors were encountered: