web-component-designer icon indicating copy to clipboard operation
web-component-designer copied to clipboard

Create a Parser and Writer for LIT components (and other Frameworks)

Open jogibear9988 opened this issue 3 years ago • 0 comments

We should be able to load components created with "LIT" in the designer. For sure, not every template is possible, but simple ones with only simple bindings should be possible.

We should use a js parser like esprima-next (also part of node-projects) to parse the template part, and then we need a html parser wich parses the template string.

There will some refactoring be needed for bindings, etc.

Also writing back the template to the class should be possible.

Also a second parser and writer for VUE Templates should be created.

jogibear9988 avatar Feb 07 '22 20:02 jogibear9988