-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
Currently, to load up partials you need to do:
import { register } from "./dist/module/mikado.js"
import tpl_header from "./tpl/header.es6.js";
register(tpl_header);
<main>
<section include="header"></section>
</main>
Is there any reason why the template compiler can't have an option to auto import and register all includes that show up in the template? Otherwise you have to manually import all nested partials. To be clear I mean nested template files, not tags.
Reactions are currently unavailable