Closed tigt closed 2 years ago
Without the .marko, the Try Online editor for components/dynamic-component.marko shows:
.marko
components/dynamic-component.marko
Error Unable to resolve "./components/hello" from "/components/dynamic-tagname/dynamic-component.marko". Open the dev tools to view the full error.
This fixes that, and adds a .js to components/import.marko for consistency.
.js
components/import.marko
Without the
.marko
, the Try Online editor forcomponents/dynamic-component.marko
shows:This fixes that, and adds a
.js
tocomponents/import.marko
for consistency.