Skip to content
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

How to use this in nuxt? #8

Open
kissa1001 opened this issue Aug 26, 2019 · 1 comment
Open

How to use this in nuxt? #8

kissa1001 opened this issue Aug 26, 2019 · 1 comment

Comments

@kissa1001
Copy link

I have created a plugin vue-funnel-graph:
import Vue from 'vue'; import { VueFunnelGraph } from 'vue-funnel-graph-js'; Vue.use(VueFunnelGraph);

Then added into plugins array:
{ src: '~/plugins/vue-funnel-graph.js', ssr: false }

In console, it says:
[Vue warn]: Unknown custom element: <vue-funnel-graph> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

@7architect
Copy link

I have created a plugin vue-funnel-graph:
import Vue from 'vue'; import { VueFunnelGraph } from 'vue-funnel-graph-js'; Vue.use(VueFunnelGraph);

Then added into plugins array:
{ src: '~/plugins/vue-funnel-graph.js', ssr: false }

In console, it says:
[Vue warn]: Unknown custom element: <vue-funnel-graph> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

Import as Vue.component('vue-funnel-graph', VueFunnelGraph)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants