Astro portfolio with Sveltia CMS

Astro with Sveltia, a flat file git-based CMS.



Installation

Bun is used instead of npm

To create a new astro project with Bun

bunx create-astro@latest my-astro-project-using-bun

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
bun install Installs dependencies
bun run dev Starts local dev server at localhost:4321
bun run build Build your production site to ./dist/

ToDo

  • Clean up and add documentation to Readme
  • Optimize images