Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1023 Bytes

README.md

File metadata and controls

44 lines (38 loc) · 1023 Bytes

gulp-4.0

gulp4.0 前端构建脚手架,方便简洁

参考文章

https://github.com/blueskyli/gulp
https://www.npmjs.com
https://blog.csdn.net/guang_s/article/details/84664769

模板
https://blog.csdn.net/guang_s/article/details/84675106
http://www.cnblogs.com/caoruichun/p/10540213.html

npm环境检查

If they are not installed, follow the instructions here.
npm install --global gulp-cli
npm --version
npx --version

初始化新项目

npx mkdirp my-project
cd my-project
//This will guide you through giving your project a name, version, description, etc.
npm init  
//Install the gulp package in your devDependencies
npm install --save-dev gulp
//Test it To run multiple tasks, you can use gulp <task> <othertask>
gulp

下载地址

https://github.com/blueskyli/gulp-4.0/releases/

编写文档

  • npm i gitbook-cli -g
  • 编写SUMMARY.md
  • gitbook init 生成目录
  • gitbook build 生成文档

交流提问