Stage 1: Download, install and run the project

Preface: I am a just graduated without training of small white, enter the company the first thing is to learn the company is currently in the use of the frame, so the problem comes, how to know the company frame are used what, our code and frame or project are basically put in(https://gitee.com/) this above, that is of course I now learn the framework clone or download down for my study ~

Getting started: Oh yeah, I had nodeJS installed on my computer during school. The company have to do is: after download and install and configure git tools, enable the command to run on this computer CMD, I is according to www.cnblogs.com/vitah/p/361. The tutorial on this page looks like this:


Then enter git on CMD to find:


Tramp tramp ~, a bunch of characters appear, indicating that it is properly installed and ready to use on the computer

Second (clone project to local) :Copy the code
1. First, find a location on your computer and create a new folder (to put the cloned project).Copy the code
2, found in the code on the cloud project https://gitee.com/newgateway/xdh-web click on the right will appear the HTTPS address, then right-click on the git bash in the folders here, to login before first clone git, login command is as follows:Copy the code
Git config --global user.name "userName" git config --global user.email "email"Copy the code
Gitclonehttps://gitee.com/newgateway/xdh-web.git was cloned down waiting for project,Copy the code
3, Then open the xdh-web folder in webstorm and enter NPM run install to wait for the installation of dependencies or run Git in gitbashclonehttps://gitee.com/newgateway/node_modules.git node_modules, then can be run according to the command of below:Copy the code


Ok, so now we are all done downloading, installing and running the task ~ next is to learn the framework. The final effect picture after running NPM Run demo is as follows:


The second stage: frame learning

Element UI: CountUp: Echarts and other plugins are quick to get started

Localhost :7001: localhost:7001: localhost:7001