Open alexmarucci opened 5 years ago
Hey Guys,
I am trying to use monkberry in one of my projects and I can see I can Import a child template like so:
{% import child from './child-template' %} <h1>Main Component</h1> <!-- Child Template --> <child />
Is there any alternative way I can Import the child component? I tried this without success.
Monkberry.render(MainTemplate, document.body, {child: ChildTemplate})
Thanks in advance!
Import works only with import keyword.
import
Hey Guys,
I am trying to use monkberry in one of my projects and I can see I can Import a child template like so:
Is there any alternative way I can Import the child component? I tried this without success.
Thanks in advance!