Custom block inserting tag for web component?

[ad_1]

I have a web-component (made in Angular) that I want to make available to a wordpress site. New to wp, but after reading I created a custom block using `npx u/wordpress/create-block` and included the js and css files for the webcomponent by adding them in the `block.json`. But how do I insert the tag for the web component?

For now it is enough to just insert `<my-webcomp></my-webcomp>`, setting attributes and showing it nicely in the block editor may come later.
Thanks

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer