juijs / vue-graph

⚡️ Vue components based on the JUI chart available in Vue.js
https://codepen.io/collection/nWpqoB/
128 stars 16 forks source link

Widgets require full Vue with compiler, errors if using Vue runtime. #29

Open tbtalbottjr opened 4 years ago

tbtalbottjr commented 4 years ago

Example:

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

found in

---> <Tooltip>
       <GraphStackbar>
         <VueGraphGivingByGiftType> at app/javascript/components/testing/charting/vue_graph_giving_by_gift_type.vue
           <GivingByGiftType> at app/javascript/components/testing/charting/giving_by_gift_type.vue
             <Root>

Desired Result:

Don't require full template compiler for your library.

Also, mixins are being deprecated in VueJS 3.0. You will want to move to something like the Composition API at some point. Plans?

Thanks.