Express+gulp construction Project (i) Project directory structure

Source: Internet
Author: User

Express is a web framework based on the Nodejs platform that allows us to quickly develop web references. And gulp is an automatic build tool, very powerful, with it, can help us do a lot of tedious work, for example, the compression of static files, add a hash to the static file name to prevent caching and so on.

Environment installation

To use the Express framework and gulp, you first install the NODEJS environment, because the NODEJS environment is installed before you can use the NPM Package Manager to download Express and gulp.

Nodejs to the official website to download, now the general project uses a stable version of 4.6.

Overall structure of the project

From this diagram we can clearly see the project directory structure, each folder has its own role, I will slowly tidy up the details of each folder and folder.

Express+gulp construction Project (i) Project directory structure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.