FilamentF
Filamentβ€’12mo ago
Wannes

Alpine Async import module

Hi!

I'm trying to load in an Alpine component, which works fine. But when I import an external module, it won't work anymore.

Import:
import Chart from 'chart.js'


I get this error in the console:
Uncaught (in promise) TypeError: Failed to resolve module specifier "chart.js". Relative references must start with either "/", "./", or "../".



Someone any idea? πŸ™‚
Was this page helpful?