Getting Started with Astro
Getting Started with Astro
I recently built this site using Astro, and I wanted to share why I chose it.
Why Astro?
- Fast by default — Astro ships zero JavaScript to the browser unless you need it
- Markdown support — write blog posts in markdown with frontmatter
- Flexible — works with React, Vue, Svelte, or just plain HTML
- Great DX — file-based routing, content collections, and hot reloading
The Stack
This site uses:
- Astro for the framework
- Tailwind CSS for styling
- Markdown for blog content
- GitHub Pages (or your host of choice) for deployment
Getting Started
If you want to try Astro yourself:
npm create astro@latest
It’s that simple. The CLI walks you through everything.
Final Thoughts
Astro hits a sweet spot between simplicity and power. It’s perfect for content-driven sites like blogs and portfolios where you don’t need a heavy JavaScript framework.