ignoreintuition / v-chart-plugin

Easily bind a chart to the data stored in your Vue.js components.
https://resurgencewebdesign.com/v-chart/
GNU General Public License v3.0
198 stars 33 forks source link

Error drawing barChart #193

Open robertovaldesperez opened 3 years ago

robertovaldesperez commented 3 years ago

webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:620 [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

--->

at src/views/desktopHistory.vue at src/layout/components/AppMain.vue at src/layout/index.vue at src/App.vue import Chart from 'v-chart-plugin' Vue.use(Chart)
ignoreintuition commented 3 years ago

This looks like you have the runtime version of Vue on your local build.

robertovaldesperez commented 3 years ago

Hi @ignoreintuition

I have added runtimeCompiler: true, in the file vue.config.js and it works, I don't know why. Of all the plugins that I have added to the application v-chart-plugin is the only one that does not work for me without that line.