dennisreimann / uiengine

Workbench for UI-driven development
https://uiengine.uix.space/
MIT License
366 stars 25 forks source link

Move component retrieval to adapters #9

Closed dennisreimann closed 6 years ago

dennisreimann commented 6 years ago

Currently the location of components is configures via the source.components configuration. This is not flexible enough as projects likely differ on where components are stored. React and Vue.js projects are structured differently than i.e. projects that use Handlebars or Pug for rendering.

Hence the logic or source configuration for the components should be moved to the individual adapters. Eventually the current retrieval can be used as a fallback in case the adapter does not provide the methods to be implemented.

dennisreimann commented 6 years ago

For now this has become obsolute by allowing source.components to define lists of directories.