From 23ff90d6334987ecff65539309acb93652f665d0 Mon Sep 17 00:00:00 2001 From: Jakub Juszczak Date: Mon, 16 Jul 2018 12:22:59 +0200 Subject: [PATCH] feat(ux): Add fake render method with error message Closes #380 --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index e757055e..b8450b91 100644 --- a/src/index.js +++ b/src/index.js @@ -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