Weather Cosmos

Back

快速开始

开始使用 Astro Theme Pure 主题

快速开始#

欢迎使用 Astro Theme Pure 主题!本指南将帮助你快速设置和运行你的博客。

前置要求#

  • Node.js 18+ 或 Bun
  • 包管理器 (npm, pnpm, yarn 或 bun)

安装#

# 使用 bun
bun create astro@latest --template Wea1her/astro-theme-pure

# 或克隆仓库
git clone https://github.com/Wea1her/astro-theme-pure.git
cd astro-theme-pure
bun install
bash

启动开发服务器#

bun dev
bash

访问 http://localhost:4321 查看你的网站。

下一步#

  • 配置站点信息
  • 创建你的第一篇博客文章
  • 自定义主题样式