News for hackers. Stuff that matters.
Re:Implementing single-file web components by dfabulich on Monday March 23, 2020 @04:23PM (#22668329)
There's a web component for that! https://github.com/justinfagnani/html-include-element

    <script type="module" src='https://unpkg.com/html-include-element'></script>
    <html-include src="./my-local-file.html"></html-include>

There are no comments on this comment yet.