Skip to content

Rework how pattern lab loads UI-kits #1484

@JosefBredereck

Description

@JosefBredereck

Currently, pattern lab is expecting UI-kits to have a fixed layout and file structure to be loaded correctly.

In my humble opinion, this leads to the point that community driven UI-kits are very rare and the hurdle for creating a new one is already big on the starting point.

Therefore, pattern lab has to introduce the possibility to configure entry points for UI-kits so that we only require a configuration file.
The configuration file should include:

  • where is the main HTML file located.
  • which static content needs to be loaded by pattern lab (images, SVGs, JSON)
  • where are the JS files located
  • where are the CSS files located

Moreover, we require the main HTML file to be parsable with handlebars, which is not a very great approach and could lead to further issues and could be resolved in other ways

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions