Skip to content
项目

thecodercoder/frontend-boilerplate

在 GitHub 查看

关于

用于 Sass 和 Gulp 4 的前端项目脚手架。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Front-end Boilerplate using Sass and Gulp 4

Using a set of boilerplate files when you're starting a website project can be a huge time-saver. Instead of having to start from scratch or copy and paste from previous projects, you can get up and running in just a minute or two.

I wanted to share my own boilerplate that I use for simple front-end websites that use HTML, SCSS, and JavaScript. And I'm using Gulp 4 to compile, prefix, and minify my files.

I also wrote a rather detailed walkthrough on how to get up and running with Gulp 4, as well as migration tips from Gulp 3.

You can read that on my blog here.

Quickstart guide

  • Clone or download this Git repo onto your computer.
  • Install Node.js if you don't have it yet.
  • Run npm install
  • Run gulp to run the default Gulp task

In this proejct, Gulp is configured to run the following functions:

  • Compile the SCSS files to CSS
  • Autoprefix and minify the CSS file
  • Concatenate the JS files
  • Uglify the JS files
  • Move final CSS and JS files to the /dist folder

探索相关项目

加载中…