Basically, can use this plugin as a regular plugin (import, register, use) while keeping the current behaviour of auto-registering itself in the browser when it can.
My use case here is I'm using a server side ChartJS renderer and in this context there's no global "Chart" object.
I've updated the readme as well to document the two ways of using the plugin.
Basically, can use this plugin as a regular plugin (import, register, use) while keeping the current behaviour of auto-registering itself in the browser when it can.
My use case here is I'm using a server side ChartJS renderer and in this context there's no global "Chart" object.
I've updated the readme as well to document the two ways of using the plugin.