Reprinted :( combination of both, is a win-win)
https://blog.csdn.net/Gabriel_wei/article/details/102449719
https://www.jianshu.com/p/87f9829dc516
First, when new desktop computer using the above vue-cli scaffolding to build new projects appeared in the following error message:
Second, it must start powershell as an administrator, and the implementation of set-ExecutionPolicy RemoteSigned command
The figure below you can see the original is not running right, you perform the above command after it, as shown below
Third, details
Restricted execution policy does not allow any scripts to run.
AllSigned and RemoteSigned execution policy prevents Windows PowerShell scripts run without digital signature.
This topic explains how to run selected unsigned scripts (even in the implementation of the policy is the RemoteSigned), also explains how to
sign scripts for your own use.
For more information about Windows PowerShell execution policy, see about_Execution_Policy.
Allowed to run signed scripts: RemoteSigned
Fourth, output similar to the following, indicating a successful start, (Congratulations ^ _ ^)
At this point, you can open your browser and type:
http://localhost:8080/posts
http://localhost:8080/comments
http://localhost:8080/profile