2 ms·
Good news, it's already been proposed! <link rel="import" href="/myfile.html"> Some links: https://w3c.github.io/webcomponents/spec/imports/ https://w3c.github
by capableweb 7y ago
Good news, it's already been proposed! <link rel="import" href="/myfile.html">
Some links: https://w3c.github.io/webcomponents/spec/imports/ https://w3c.github.io/webcomponents/spec/imports/ https://www.html5rocks.com/en/tutorials/webcomponents/imports/ https://www.html5rocks.com/en/tutorials/webcomponents/import...
Not sure about the current support in browsers, but the specification is currently a draft