vscode 配置 nodejs 开发环境

1.配置 cnpm 镜像 (国内淘宝镜像网速更快)

npm install -g cnpm --registry=https://registry.npm.taobao.org

2.配置智能提示

  • 安装 typings
cnmp i typings -global
  • 初始化 typings
typings init
  • 安装 js 插件提示
typings install dt~node --global --save

3. 创建 jsconfig.json 文件

重启 vscode 即可

猜你喜欢

转载自www.cnblogs.com/yaolin1228/p/11334135.html