解决vs code 终端不能使用yarn或vue命令的问题

763 阅读1分钟
进入的目录:C:\Windows\System32\WindowsPowerShell\v1.0
  1. 以管理员身份运行 powershell.exe
  2. 在powershell 窗口执行命令
  3. 执行set-ExecutionPolicy RemoteSigned命令,并输入y选项。
  4. 重启 vs code