Skip to content

Commit

Permalink
feat(ux): Add fake render method with error message
Browse files Browse the repository at this point in the history
Closes #380
  • Loading branch information
apertureless committed Jul 16, 2018
1 parent 3e087bd commit 23ff90d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const VueCharts = {
Bubble,
Scatter,
mixins,
generateChart
generateChart,
render: () => console.error('[vue-chartjs]: This is not a vue component. It is the whole object containing all vue components. Please import the named export or access the components over the dot notation. For more info visit https://vue-chartjs.org/#/home?id=quick-start')
}

export default VueCharts
Expand Down

0 comments on commit 23ff90d

Please sign in to comment.