discourse/app/assets/javascripts/discourse-common/addon
David Taylor ef5cb6e7ed
DEV: Support components under /index paths in themes/plugins (#23876)
Normally, modules defined under `blah/index` can be imported as `blah`. This is also true of Ember resolver lookups - `<MyComponent />` should resolve to the same as `<MyComponent::Index />`. This was working as expected in Discourse core, but we had not implemented the same in our custom resolver logic for themes/plugins.

This commit implements the `/index` fallback, and adds a test for the behaviour.
2023-10-10 16:29:40 +01:00
..
config Revert "FIX: delay custom section reorder (#20781)" (#20786) 2023-03-23 11:27:12 +01:00
helpers DEV: Add gjs support for themes (#23473) 2023-10-02 12:36:06 +02:00
lib A11Y: aria-label for mobile topic list avatar (#23693) 2023-09-28 13:29:56 -04:00
utils DEV: Use object spread instead of Object.assign({}, …) (#23167) 2023-08-21 14:28:16 +02:00
.gitkeep
resolver.js DEV: Support components under /index paths in themes/plugins (#23876) 2023-10-10 16:29:40 +01:00