安装angular-cli

作者: 加加加加加加加一 | 来源:发表于2017-10-19 14:19 被阅读0次

看慕课网的时候搞定的 http://www.imooc.com/video/15154做一个记录

npm install-g cnpm https://registry.npm.taobao.org用cpnm取代npm 据说是速度会快一点,但是实际上我用npm的话 速度还是比较不错的

在所需要的文件夹下运行: 自动生成angular的框架了

cnpm install-g@angular/cli

ng new project name

如果之前安装angular-cli失败的话,需要执行以下,清除干净(我没有安装失败过,这两个命令还没试过)npm uninstall-g angular-cli

npm cache clean

怎么把本地文件上传到git

git init

git add ./git commit-m""git remote add origin http://git pull

git push-u origin master

相关文章

网友评论

    本文标题:安装angular-cli

    本文链接:https://www.haomeiwen.com/subject/dfvuuxtx.html