August 2017
Beginner
298 pages
7h 4m
English
HTML imports are simple. They let you import an HTML document inside another HTML document in the same way as you include CSS and JS files. The import statement looks as follows:
<link rel="import" href="file.html">
HTML imports have a lot of benefits when we work in an environment that does not use a build tool such as Webpack; for example delivering the web components for use across the web application.
The main reason why we are not going to use HTML templates and HTML imports in our Weather Widget is that they are more focused on usage with HTML files. Our build ...
Read now
Unlock full access