cnpm 安装vue与vue/cli

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

  2. 安装 vue
    npm install -g npm

  3. 安装 vue/cli
    npm install -g @vue/cli

原文地址:https://www.cnblogs.com/pythonPath/p/11531530.html