vscode的配置
执行策略
查看当前执行策略
在powershell中查看当前执行策略;
Get-ExecutionPolicy
更改执行策略
更改执行策略为 RemoteSigned;
Set-ExecutionPolicy RemoteSigned
侧边栏打开NPM脚本
进入Settings界面,然后再他妈的选中Enable running npm scripts contained in a folder from the Explorer context menu.这个复选框;
点击
EXPLORER的下拉框,选中NPM Scripts选项;