0👍
You are trying to use v3 syntax while using v2, to register plugins in V2 you need to type it like so:
import AnnotationPlugin from 'chartjs-plugin-annotation';
Chart.plugins.register(AnnotationPlugin)
- [Vuejs]-Im trying to make a stopwatch that changes background color with a input for minutes and secondes
- [Vuejs]-Mutate a computed property with in a method in vue
Source:stackexchange.com