We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now you import the transpiled vue components as es modules.
You can either import the whole object which contain all components and mixins
import VueChartJs from 'vue-chartjs'
or you can import the individual modules
import {Bar, Line} from 'vue-chartjs'
In addition to this, it might be a good idea to utilize the vue plugin register functions. So you can use vue-chartjs with
vue-chartjs
import VueChartJs from 'vue-chartjs' Vue.use(VueChartJs)
This may would make things easier for people using it with SSR / nuxtjs. As nuxt requires a vue plugin to disable ssr.
Thoughts on this? 💭
The text was updated successfully, but these errors were encountered:
apertureless
No branches or pull requests
💁 Current state
Right now you import the transpiled vue components as es modules.
You can either import the whole object which contain all components and mixins
or you can import the individual modules
📰 Proposal
In addition to this, it might be a good idea to utilize the vue plugin register functions. So you can use
vue-chartjs
withThis may would make things easier for people using it with SSR / nuxtjs. As nuxt requires a vue plugin to disable ssr.
Thoughts on this? 💭
📊 Poll
The text was updated successfully, but these errors were encountered: