We're glad you've decided to try out Marko. You're looking at the result of
~/src/index.marko
. Try editing that file and this page will reload. ⚡
Here's a counter component. You click, it counts! It lives in
~/src/components/click-count/
. Try making it count by 5.
If you look at the code for this page, you'll notice we use the
<click-count/>
component, but don't import it from anywhere. That's because when resolving custom tags, Marko
looks up the directory tree
for a
components/
directory and finds the counter for us!