3 ms·
It’s not ideal, but t it does exist in pure html… and the OP didn’t seem to note it. A bit of vanilla JavaScript with WebComponents is a few lines: https://go
by j45 2y ago
It’s not ideal, but t it does exist in pure html… and the OP didn’t seem to note it.
A bit of vanilla JavaScript with WebComponents is a few lines:
https://gomakethings.com/html-includes-with-web-components/ https://gomakethings.com/html-includes-with-web-components/
Edit: “t” was supposed to be the object tag.
- masklinn 2y ago> it does exist in pure html [...] JavaScript with WebComponents You seem to have a rather original definition of "pure HTML".
- j45 2y agoTypo, from the numerous fat finger typos you see above. :) An html only option that exists is using object. Replying to the miss of the OP in case others might find it suitable. If a tiny bit of vanilla JavaScript can be tolerated, WebComponents appear to have a broad standardized approach that is not framework dependant.