Project introduced git repository and error problem

1. Mu class network - to create a new warehouse, named Mei_tuan_git - my git repository. Copy the http address of the warehouse

2. Create a new folder on the D drive New_meituan --base-ssm--

3. Go to the directory New_meituan in cmd, type git clone http address. The warehouse clone down, Catalog: base-ssm - New_meituan - Mei_tuan_git

4. The new project name vue vue-learn. Mei_tuan and placed into a folder.

5. vue project into the repository to git: Open Mei_tuan folder, copy vue-learn folder and paste it into Mei_tuan_git internal directory: base-ssm - New_meituan - Mei_tuan_git - vue-learn.

6. Start the project into Mei_tuan_git directory, enter the command npm run serve, reported the following error:

 

 

 

 

 The reason given is: vue-learn the real vue project, it shall enter meituan - after Mei_tuan_git. Vue-learn again to enter the directory:

 7. The next time you open the project, the project should be open vue vue-learn in this directory, rather than the project folder Mei_tuan file.

Guess you like

Origin www.cnblogs.com/panzai/p/12416776.html