Skip to content

tommymarshall/react-multi-step-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Multi-Step Form

Screenshot

If you are new to Gulp, Browserify, or build tools in general be sure to check out the blog post for more context and the Wiki for some additional background knowledge.

Install npm dependencies

npm install

Run gulp

gulp

This will run the default gulp task defined in gulp/tasks/default.js, which does the following:

  • Run 'watch', which has 2 task dependencies, ['setWatch', 'browserSync']
  • setWatch sets a variable that tells the browserify task whether or not to use watchify.
  • browserSync has build as a task dependecy, so that all your assets will be processed before browserSync tries to serve them to you in the browser.
  • build includes the following tasks: ['browserify', 'sass', 'markup']
  • Compile and move these files to build/ folder, and be served on your localhost at port 3000.
  • Run appropriate tasks on when source files change and refresh the browser.