HTMLImporter

Getting started

npm install
npm run start

Run your favorite browser and go to http://localhost:3000

Example

<template rel="hello.html"></template>
document.addEventListener('DOMContentLoaded', function() {

    var templates = document.querySelectorAll('template');

    (new Importer).run(templates);
});

All tag will be replace by theirs "rel" content.