ZOYKU火线榜

kittygiraudel/sass-boilerplate技术文档

A boilerplate for Sass projects using the 7-1 architecture pattern from Sass Guidelines.

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/kittygiraudel/sass-boilerplate.git

Sass Boilerplate

This is a sample project using the 7-1 architecture pattern and sticking to Sass Guidelines writing conventions.

Each folder of this project has its own README.md file to explain the purpose and add extra information. Be sure to browse the repository to see how it works.

Using the indented syntax

Sass conversion

This boilerplate does not provide a .sass version as it would be painful to maintain both versions without an appropriate build process. However, it is very easy to convert this boilerplate to Sass indented syntax.

Clone it, head into the project and then run:

sass-convert -F scss -T sass -i -R ./  && find . -iname “*.scss” -exec bash -c 'mv "$0" “${0%\.scss}.sass"' {} \;

Use with Sass

When using sass - in order to build that boilerplate, one needs to:

  • install sass if not yet installed:
npm install -g sass
  • run build command from command line:
sass stylesheets/main.scss dist/main.css
文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-09