This is a small web app written with astrojs and keystatic as the CMS. It is my main web presence and displays my portfolio and blog posts.

liontix 7fa1e7227d added keystatic cms 9 月之前
public 7fa1e7227d added keystatic cms 9 月之前
src 7fa1e7227d added keystatic cms 9 月之前
.gitignore 7fa1e7227d added keystatic cms 9 月之前
README.md 7fa1e7227d added keystatic cms 9 月之前
astro.config.mjs 7fa1e7227d added keystatic cms 9 月之前
keystatic.config.ts 7fa1e7227d added keystatic cms 9 月之前
package.json 7fa1e7227d added keystatic cms 9 月之前
svelte.config.js 7fa1e7227d added keystatic cms 9 月之前
tailwind.config.cjs 7fa1e7227d added keystatic cms 9 月之前
tsconfig.json 7fa1e7227d added keystatic cms 9 月之前

README.md

Astro Starter Kit: Basics

npm create astro@latest -- --template basics

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

just-the-basics

🚀 Project Structure

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

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

To learn more about the folder structure of an Astro project, refer to our guide on project structure.

🧞 Commands

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

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.