haxtheweb / issues

Issue queue for hax, haxcms, elmsln, lrnwebcomponents, wcfactory, websites and more.
Apache License 2.0
11 stars 1 forks source link

Add area in haxcms [file system] to autoload own local themes and elements for selection. #1943

Open btopro opened 6 months ago

btopro commented 6 months ago

This is similar to how HAXsite's can load stuff out of the custom directory and have their own customized build routine. The wc-registry supports multiple registries so either..

A would be faster than B but A wouldn't be as portable (download a site, you won't have those assets... unless the deploy itself is a cdn) B would load everything at once which could be a lot more to load and if a theme is a stock one you are needlessly loading all those additional assets.

Unless a theme was designated as core vs implementation specific. At that point you could define that this theme requires loading the additional assets. This doesn't account for loading additional elements that are non-theme in nature, which would be more in favor of A over B.