F
Filamentβ€’7d 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'
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 "../".
Uncaught (in promise) TypeError: Failed to resolve module specifier "chart.js". Relative references must start with either "/", "./", or "../".
Someone any idea? πŸ™‚
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?