You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
Occurred to me that there could be scope for including a django variant of Ruby-style import maps, for loading Stimulus controller files for templates, as an alternative to bundling them altogether.
@janbaykara suggests:
We in fact kind of already have this behaviour by using dynamic import() via vite's
import.meta.glob
to load and register controllers on-demand.Using import maps could prove to be a more 'standard' way of providing this behaviour. Especially when the django hotwired libraries mature a bit.
The text was updated successfully, but these errors were encountered: