gulp 结构和运行步骤——笔记1

一、项目结构:(需要gulpfile.js 和package.json两个文件)

二、运行步骤: (前提:安装了node 和 npm)

  1. DOS切换到项目文件目录:
  2. npm install  加载包
  3. node node_modules\gulp\bin\gulp.js  得到dist文件夹

      

 

三、运行结果:得到dist目标文件夹

  

 

 

-----------------------------------------

 

posted @ 2018-08-08 20:27  桦屋飘蓬  阅读(201)  评论(0编辑  收藏  举报