vue-funnel-graph-js icon indicating copy to clipboard operation
vue-funnel-graph-js copied to clipboard

How to use this in nuxt?

Open kissa1001 opened this issue 5 years ago • 1 comments

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.

kissa1001 avatar Aug 26 '19 19:08 kissa1001

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)

7architect avatar Jun 28 '20 22:06 7architect