marko-js / marko

A declarative, HTML-based language that makes building web apps fun
https://markojs.com/
MIT License
13.36k stars 643 forks source link

How does routing work? #2030

Closed RapidOwl closed 1 year ago

RapidOwl commented 1 year ago

I can't find any reference to routes or routing in the docs. The starter project I got when running the npx command only has an index page with +page.marko.

DylanPiercey commented 1 year ago

The default starter uses @marko/run. You can see it's documentation over here: https://github.com/marko-js/run

Eventually we will incorporate those docs into the main documentation on the website.

RapidOwl commented 1 year ago

Thanks for pointing me in the right direction!