QingWei-Li/vue-trend

Does this work Vue 3?

elliotlings opened this issue · 2 comments

I'm getting this error when trying to render:

        <Trend :data="[1,2,3]"
            :gradient="['#5DCA9D', '#ABE1DF', '#9AF6D0']"
            auto-draw
            smooth
            :height="80"
        />

Uncaught (in promise) TypeError: h is not a function

https://www.npmjs.com/package/vue3trend

Vue3 is an alternative because the documentation is poor and the codebase isn't maintained likewise.
It doesn't work in a nutshell.