GatsbyReact启动器

gatsby-starter-sasslan — Gatsby 启动器模板

作者 a2zarslaan

一个基于 Gatsby 的极简启动器,使用 SCSS 并按 CSS 7-1 架构组织样式,内置博客、GraphQL IDE、SVG 雪碧图与 GitHub Pages 部署脚本。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-02查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

样式使用 SCSS,并按 CSS 7-1 架构拆分目录

02

颜色、高亮与悬停效果等以变量集中管理,便于统一修改

03

内置博客组件,通过 GraphQL 读取并渲染本地 Markdown 文章及图片

04

开发环境提供 GraphQL IDE 用于调试查询

05

支持 Google Fonts 与 SVG 雪碧图

06

附带快速部署到 GitHub Pages 的脚本

模板详细介绍

gatsby-starter-sasslan 是一个面向 Gatsby 的极简启动器模板,核心特点是把样式层拆分为 SCSS,并按 CSS 7-1 架构组织目录,颜色、高亮和悬停效果等以变量形式集中管理,便于统一调整。模板内置博客组件,通过 GraphQL 读取并渲染本地 Markdown 文章及其中的图片;开发时提供 GraphQL IDE 用于调试查询。页面采用桌面优先的响应式设计,支持 Google Fonts 与 SVG 雪碧图,并附带一条快速部署到 GitHub Pages 的脚本。

使用上,模板要求先安装 Gatsby CLI 与 npm,通过 gatsby new 命令以本仓库为源创建项目,随后运行 npm run develop 在本地启动,运行 npm run deploy 发布到 GitHub Pages。仓库采用 MIT 许可,可免费使用、修改、商用和分发该版本代码,但演示图片、字体、图标等第三方素材需单独核对其许可,域名、托管等外部服务也可能产生费用。

Gatsby启动器

适合你的项目吗?

适用场景

  • 需要以 SCSS 和 CSS 7-1 架构组织样式的新 Gatsby 站点
  • 希望用 Markdown 编写博客文章并由 GraphQL 渲染的个人博客
  • 需要快速发布到 GitHub Pages 的静态站点
  • 作为学习 Gatsby 样式组织与 GraphQL 数据层的起步项目

适合人群

  • 熟悉 npm 与 Gatsby CLI 的前端开发者
  • 偏好 SCSS 与模块化样式目录结构的项目
  • 以 Markdown 为主要内容来源的博客类站点

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    需先安装 Gatsby CLI 与 npm

  2. 2

    使用 gatsby new [directory] https://github.com/a2zarslaan/gatsby-starter-sasslan 创建项目

  3. 3

    进入目录后运行 npm run develop 本地启动

  4. 4

    运行 npm run deploy 可快速部署到 GitHub Pages

  5. 5

    演示图片、字体、图标等第三方素材需按各自许可单独核对

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 68 / 100
技术栈
Gatsby · React
网站类型
启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2023-01-11
截图检查日期
2026-10-02

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Gatsby。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: aaf6df0083ab2e2a14d52fec157c02753f25ec8e512091d94751ed633620ac0b

2026-10-02T11:25:59.279Z

来源文件 / 仓库
# Gatsby Sass Starter

A minimalistic Gatsby starter template featuring SASS and CSS 7-1 architecture. The project focusses on creating websites which are not only fast, but pretty too!

## What Tech This Includes

- [Npm](https://www.npmjs.com/)
- [Gatsby](https://www.gatsbyjs.org/)
- [Sass](https://sass-lang.com)
- [React Helmet](https://github.com/nfl/react-helmet)
- [Resolve Src](https://github.com/alampros/gatsby-plugin-resolve-src)
- [Google Fonts](https://github.com/didierfranc/gatsby-plugin-google-fonts)
- [SVG Sprites](https://github.com/marcobiedermann/gatsby-plugin-svg-sprite)
- [GraphQl Playground](https://github.com/prisma-labs/graphql-playground)
- [Remark Relative Images](https://github.com/danielmahon/gatsby-remark-relative-images)
- [Transformer Remark](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark)
- [Transition Link](https://github.com/TylerBarnes/gatsby-plugin-transition-link)
- [Sharp](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp)

## What Features this Includes

- SASS in the form of SCSS
- CSS 7-1 architecture along with easy to change variables (for colors, highlight and hover effects)
- Blog component that uses GraphQL to read and render local markdown posts with images
- GraphQL IDE for better development workflows
- Desktop-first and responsive design
- Ability to use Google fonts
- Ability to use SVG sprites
- Github pages integration with script, quick deploy script

# Getting Started

## Requirements

- [Gatsby CLI](https://www.npmjs.com/package/gatsby-cli)
- [Npm](https://www.npmjs.com/)

## Quick Start

Run the following in your favorite terminal:

```
gatsby new [directory] https://github.com/a2zarslaan/gatsby-starter-sasslan
```

## Starting from Scratch

- Set up Npm: (https://www.npmjs.com/get-npm)[https://www.npmjs.com/get-npm]
- Install the Gatsby CLI globally:

```
npm install -g gatsby-cli
```

- Inside the directory of your choice, scaffold a new Gatsby site:

```
gatsby new [directory] https://github.com/a2zarslaan/gatsby-starter-sasslan
```

For example, if I want my installation in `~/Code/new-gatsby-site`, I would navigate to `~/Code` and run:

```
gatsby new new-gatsby-site https://github.com/a2zarslaan/gatsby-starter-sasslan
```

- Navigate to your new directory and run:

```
npm run develop
```

- You should now be running your new Gatsby site locally! 🎉

- For quick deploy as a Github pages site, run:

```
npm run deploy
```

## Credits

Project structure inspired by [Colby Fayok's Gatsy Starter](https://github.com/colbyfayock/gatsby-starter-sass)

Pull requests welcome!
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。