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 即可

posted on 2019-08-11 10:32  张居斜  阅读(10359)  评论(0编辑  收藏  举报

导航