Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error drawing barChart #193

Open
robertovaldesperez opened this issue Jan 13, 2021 · 2 comments
Open

Error drawing barChart #193

robertovaldesperez opened this issue Jan 13, 2021 · 2 comments

Comments

@robertovaldesperez
Copy link

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
Copy link
Owner

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

@robertovaldesperez
Copy link
Author

robertovaldesperez commented Jan 14, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants