This component ...
<my-component>
<p>Hello !</p>
</my-component>
... Inside the html template ....
<div class="myClass">
<my-component></mycomponent>
</div>
... Something similar will look on the client side:
<div class="myClass">
<my-component>
<p>Hello !</b>
</mycomponent>
</div>
Are there any ways not to display the html component tag, but display the internal content of the components? Sort of...
<div class="myClass">
<p>Hello !</b>
</div>
source
share