Use Vue write a small web project environment configuration

Record it.

Environment configuration: 1. Download Node.js (you can download the official website) after installation, use cmd view, the command is as follows.

2. On site registration code cloud, used as a warehouse. Create your own warehouse.

3. Git official website to download and install, after installation, use the command to ensure proper installation.

4. codes for local and online interrelated. Using the public key, specific steps, there are tips on the site, using the Git Bash here to operate.

5. Once set up, choose on the site clone copy, here select SSH, you can select a folder.

6. Open the Vue's official website, the option to download the installation steps, there are instructions on the website. (Npm If the download is too slow, use cnpm, Baidu can).

 

7. After execution, create a project is completed. Displays the page Vue's official website after the operation.

Some commonly used commands:

git status to view the status of the branches

git add .

git commit -m "Information" 

After more than three // commit git push for the finish

git checkout master // switched to the main branch

git merge list // get the main branch and the branch to merge

git push // complete merger

Published 45 original articles · won praise 6 · views 4940

Guess you like

Origin blog.csdn.net/qq_40761693/article/details/104882185