ZOYKU火線榜

web3templates/stablo-astro技術文件

Astro version of the Popular Stablo Blog Template

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
極速安裝
git clone https://github.com/web3templates/stablo-astro.git

Stablo - Astro Blog Template with MDX

Stablo Astro is an Astro version of Stablo - Next.js Blog Template, #1 template for Next.js & Sanity CMS. This is an Astro version of the same template.

This free template is sponsored by Web3Templates

Live Demo

Deploy on Vercel

Click the below link to deploy this template on Vercel

Deploy with Vercel

Screenshot

Installation

If you are reading this on github, you can click on the "Use this template" button above to create a new repository from astroship to your account. Then you can do a git clone to clone it to your local system.

Alternatively, you can clone the project directly from this repo to your local system.

1. Clone the repo

git clone https://github.com/web3templates/stablo-astro.git myProjectName
# or
git clone https://github.com/web3templates/stablo-astro.git .

The . will clone it to the current directory so make sure you are inside your project folder first.

2. Install Dependencies

npm install
# or
yarn install
# or (recommended)
pnpm install

3. Start development Server

npm run dev
# or
yarn dev
# or (recommended)
pnpm dev

Preview & Build

npm run build
npm run preview
# or
yarn build
yarn preview
# or (recommended)
pnpm build
pnpm preview

We recommend using pnpm to save disk space on your computer.

Other Commands

pnpm astro ...
pnpm astro add
pnpm astro --help

Project Structure

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

/
├── public/
│   └── ...
├── src/
│   ├── components/
│   │   └── ...
│   ├── layouts/
│   │   └── ...
│   └── pages/
│       └── ...
└── 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.

Any static assets, like images, can be placed in the public/ directory.

TailwindCSS

TailwindCSS is already configured in this repo, so you can start using them without any installation.

👀 Want to learn more?

Feel free to check out Astro Docs or jump into our Discord Chat.

Built with Astro

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-09