Open
Description
Is there a way to mount the current DOM as a component? Would it ever be?
I would like to create a component from the webpage itself instead of declaring it as a string.
This may be really beneficial for SEOs, and also provide a nice way to get syntax highlighting. It would be game changing from the developer experience.
A quick way to achieve this would be to get the component's innerHTML, parse it, find special tags and then eval the result, I was wondering if you'll be interested in something like this. If you wish, I may work on this and propose a pull request.
Metadata
Metadata
Assignees
Labels
No labels