3 ms·
Using the CLI, can templates import other html bits (classic header/content/footer for example) ?
by kawera 11y ago
Using the CLI, can templates import other html bits (classic header/content/footer for example) ?
- phpnode 11y agoyes, you can do something like `HTMLing.registerElement('foo-bar', {})` and then when you use `<foo-bar />` in another template it will render it. I should note that I'm not maintaining this library very well because I've mostly switched to React, but it does work.