I am here
cmdImplementation in inside
npm install --global gulpThis
npmIt should be stored in win environment variables. The command line found the corresponding command, executed the program corresponding to the following parameters, and downloaded it
gulp. Then I will execute it now
gulp, he ran up, this is a what process?
gulpfile.babel.js, what is the relationship between, how to call?
In order to
windowsFor example, you installed
npmWhen, will put this directory
C:\Users\yourname\AppData\Roaming\npmAdd to the environment variable, and
npm install -g gulpWill be generated in this directory
So you type at the command line
gulpThis was actually implemented
gulp.cmdFile, and this
gulp.cmdThe order inside is to execute
node_modulesUnder the directory
cliFile, and then began to run
macThe principle is the same as this.
node.jsDescription file of the project, defining information such as project name/dependency package/startup command, etc.
webpackThe default name of the configuration file is this name. You can change it to another name and specify it through command line parameters.
gulpfile.babel.jsShould be used
gulpfileScript, need to pass