What You Just Created
This is a member-only chapter. Log in with your Signal Over Noise membership email to continue.
Log in to readModule 2 · Section 3 of 8
What You Just Created
Open the project in your editor. The structure looks like this:
my-site/
├── src/
│ ├── pages/
│ │ └── index.astro
│ └── env.d.ts
├── public/
├── astro.config.mjs
├── package.json
└── tsconfig.json
The only page is src/pages/index.astro. In Astro, the file system is the router — the path of the file under src/pages/ determines the URL. index.astro maps to /. Create src/pages/about.astro and you get /about automatically.