Vue-cli project structure explained

| - Build                             // project build (webpack) the relevant code 
| | - build.js                      // production environment build the code 
| | - the Check-version.js              // check node, npm other versions 
| | - dev-client .js                 // thermal overload associated 
| | - dev-server.js                 // build the local server 
| | - utils.js                      // build tools relevant 
| | -. WebPACK base .conf.js          // WebPACK basic configuration 
| | - webpack.dev.conf.js           // WebPACK development environment configuration 
| | - webpack.prod.conf.js          // WebPACK production environment configuration
| - config                            // project development environment configuration 
| | - dev.env.js                    // development environment variable 
| | - index.js                      // project some configuration variables 
| | - prod.env.js                   // production environment variables 
| | - test.env.js                   // test environment variable 
| - src                               // source directory 
| | - components                      // VUE common components 
| | - Store                           // vuex state management 
| | - App. VUE                         // page entry file 
| | - main.js                         //Program entry file, load a variety of common components 
| - static                            // static files, such as some pictures, json data 
| | - the Data                            // Group Chat analyze the data obtained for data visualization 
| - .babelrc                          // ES6 the syntax compiler configuration 
| - .editorconfig                     // custom code format 
| - .gitignore                        // git upload a file format that should be ignored 
| - README.md                         // project Description 
| - favicon.ico 
 | - index.html                        / / entry page 
| - package.json                      // basic information project

 

Guess you like

Origin www.cnblogs.com/loaderman/p/11057336.html