An attempt to create a miniminal js personal blog using Astro.
- Platform: Astro
- Deployment: Vercel
- Package manager: pnpm
- CSS: Tailwind CSS
Inside of my Astro project, you'll see the following folders and files:
βββ public/
β βββfavicon/
β βββ images/
β βββ videos.txt
β βββ robots.txt
βββ src/
β βββ components/
β βββ content/
β βββ layouts/
β βββ lib/
β βββ pages/
β βββ styles/
βββ .env.example
βββ package.json
Astro looks for .astro
or .md
files in the src/pages/
directory. Each page is exposed as a route based on its file name.
There's nothing special about src/components/
, but that's where you should place any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the public/
directory.
This app requires Node.js v16.15.0 or later.
git clone git@github.com:dreyfus92/astro-portfolio.git
cd astro-portfolio
npm install -g pnpm
pnpm i
pnpm dev
This project is licensed under the MIT license.