modulerizr
Version:
Integrate a powerful, component based architecture to your legacy project in just a few steps
16 lines (12 loc) • 413 B
HTML
<html lang="en">
<head>
<title>Include a Component plain Textcomponent</title>
</head>
<body>
<!-- This will be rendered to <span>Hello World</span> -->
<custom-wrapper>Default Wrapper with a div</custom-wrapper>
<!-- This will be rendered to <h1>Hello World</h1> -->
<custom-wrapper m-wrapper="<h1>">This is wrapped with &lt;h1&gt;</custom-wrapper>
</body>
</html>