Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’13mo agoβ€’
1 reply
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? πŸ™‚
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel β€’ Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Javascript Module Import
FilamentFFilament / β“β”Šhelp
2y ago
Importing a js lib via Async Alpine
FilamentFFilament / β“β”Šhelp
3y ago
How to import Alpine in custom script
FilamentFFilament / β“β”Šhelp
16mo ago
Custom async alpine component field with vite and without panel
FilamentFFilament / β“β”Šhelp
3mo ago