node.js--express

1 is mounted:. Express the install NPM-Generator - G 

2 . Create Test item Express 

. 3 NPM & the install. NPM Start 

. 4 is mounted: I nodemon Cross-NPM---save the env dev.   // avoid After each modification to restart 

5 . start configuration: package.json 
   
   " dev " : " Cross-nodemon ./bin/www the env NODE_ENV = dev " 

  
. 6 . run: npm run dev

Guess you like

Origin www.cnblogs.com/huanhuan55/p/11427091.html