
Computing
[JavaScript] Create reusable component in separate HTML file
In HTML, we can use tag <Template> to create reusable component, but it is limited in single. In this article, it will show how to create JavaScript component in seperate HTML / JS files.