#chartjs plugin

19 messages · Page 1 of 1 (latest)

upper matrix
#

Ill try to make a working example for you

solar sage
#

ty I transfered from vue2 to nuxt3

#

so little hard to get started

upper matrix
#

@solar sage

#

this is one way of doing

#

as u can see u can use regular component imports if u make /components/global folder

#

so u can use BarChart.client.vue

#

.client.vue means that component will be rendered only on client side

#

u dont even need a plugin if u use it in such way

#

Hope it helps

solar sage
#

ty sm

upper matrix
#

yw

gaunt bluff
#

You might get this to work as well if you create a module instead of a plugin 😊

The addComponent function in a nuxt module makes the component available for auto-import

solar sage
#

got it!

#

ty fo the help

solar sage
# upper matrix yw

I think solution best tbf Im not gonna use the chart anywhere else anyways

#

u guys think I can input avatars here ?