import { annotation, Chart, defaults } from 'chart.js';
An issue arises when using this import statement:
localhost/:1 Uncaught TypeError: Failed to resolve module specifier "chart.js". Relative references must start with either "/", "./", or "../".
Unfortunately, I am unable to locate a CDN online for importing via a script tag like the following example:
script src="path/to/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.min.js" /script