Whether to use bower or npm mainly depends on your packaging strategy. My personal suggestion is that npm is better.
Gulp is actually not directly related to your express. You have not seen the essence here clearly. Is there a big difference between your use of express and your use of PHP? How you use gulp in php can be used in express. It's just that express is easier to combine and more flexible.
Note that express’s static directory can be configured by yourself, so a simple combination
Of course, if you want to integrate the entire development environment, you need to use a gulp-express plug-in. I have never done that. The plug-in should be this: https://www.npmjs.com/package...
Whether to use bower or npm mainly depends on your packaging strategy. My personal suggestion is that npm is better.
Gulp is actually not directly related to your express. You have not seen the essence here clearly. Is there a big difference between your use of express and your use of PHP? How you use gulp in php can be used in express. It's just that express is easier to combine and more flexible.
Note that express’s static directory can be configured by yourself, so a simple combination
Just put the code packaged by gulp in dist,
Of course, if you want to integrate the entire development environment, you need to use a gulp-express plug-in. I have never done that. The plug-in should be this: https://www.npmjs.com/package...