Skip to content

Commit 23ff90d

Browse files
committed
feat(ux): Add fake render method with error message
Closes #380
1 parent 3e087bd commit 23ff90d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ const VueCharts = {
2424
Bubble,
2525
Scatter,
2626
mixins,
27-
generateChart
27+
generateChart,
28+
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')
2829
}
2930

3031
export default VueCharts

0 commit comments

Comments
 (0)