Angularjs4.0 创建新项目

来源:互联网 发布:mac爱奇艺没弹屏了 编辑:程序博客网 时间:2024/06/14 03:54

http://www.qinimai.com/post/432.html

http://www.qinimai.com/topic/9.html

Angular4 中常用的指令入门总结
http://www.jb51.net/article/115968.htm

Angular4中调用js代码
http://blog.csdn.net/mingyueyixi/article/details/73695321
Angular引入第三方库 <这个好用>
http://blog.csdn.net/yuzhiqiang_1993/article/details/71215232

CRUD Walkthrough with Angular v4 | Part 2: Back-End
https://www.youtube.com/watch?v=aNZLkoKmmPk&t=1s

Angular 初学者的推荐学习路径
https://angular.cn/docs/ts/latest/guide/learning-angular.html

AngularJS 2+ 迅速扫盲
http://blog.csdn.net/mingyueyixi/article/details/72904657

TypeScript迅速入门与应该知道
http://blog.csdn.net/Mingyueyixi/article/details/72782026

npm install 无响应解决方案
http://www.uedbox.com/npm-install-slow-solution/
方案一:使用cnpm
如果你在中国,那么你可能需要使用这个源:淘宝 NPM 镜像:
$ npm install cnpm -g –registry=https://registry.npm.taobao.org

ng new SecondProject
cd SecondProject
ng set –global packageManager=cnpm

F:\valueproject\SecondProject>ng -v
_ _ _ _
/ \ _ _ _ _ _ | | _ _ _ _ / __| | |_ _|
/ △ \ | ‘_ \ / | | | | |/ _ | ‘_| | | | | | |
/ _ | | | | (| | || | | (| | | | || |_ | |
// __| ||__, |__,||__,|| ____||__|
|_/
@angular/cli: 1.2.1
node: 6.11.1
os: win32 x64
@angular/animations: error
@angular/common: error
@angular/compiler: error
@angular/core: error
@angular/forms: error
@angular/http: error
@angular/platform-browser: error
@angular/platform-browser-dynamic: error
@angular/router: error
@angular/cli: error
@angular/compiler-cli: error
@angular/language-service: error

cnpm install
ng serve –host 0.0.0.0 –port 4201

http://localhost:4201/

了解 Angular CLI 的工作原理,请访问 Angular CLI 的仓库
https://github.com/angular/angular-cli

Angular2 + Webpack项目搭建Demo
http://www.cnblogs.com/yitim/p/angular2-demo-1.html

webpack 中文文档(v3.3.0)
http://www.css88.com/doc/webpack/

npm

npm -v #显示版本,检查npm 是否正确安装。

npm install express #安装express模块

npm install -g express #全局安装express模块

npm list #列出已安装模块

npm show express #显示模块详情

npm update #升级当前目录下的项目的所有模块

npm update express #升级当前目录下的项目的指定模块

npm update -g express #升级全局安装的express模块

npm uninstall express #删除指定的模块

查看所有全局安装的模块 npm ls -g
查看npm默认设置(部分) npm config ls
查看npm默认设置(全部) npm config ls -l

//入门Angular非常不错的资料
[置顶] Angular环境搭建 http://blog.csdn.net/yuzhiqiang_1993/article/details/70858829
[置顶] Angular项目目录结构详解 http://blog.csdn.net/yuzhiqiang_1993/article/details/71191873
[置顶] Angular的启动过程 http://blog.csdn.net/yuzhiqiang_1993/article/details/71195141
[置顶] Angular引入第三方库 http://blog.csdn.net/yuzhiqiang_1993/article/details/71215232

理解SVG坐标系统和变换: transform属性
https://www.w3cplus.com/html5/svg-transformations.html

D3.js实现柱状图的方法详解
http://www.jb51.net/article/93084.htm

D3.js实现折线图的方法详解
http://www.jb51.net/article/93088.htm

D3.js画折线图
http://blog.csdn.net/u011699990/article/details/52807696

d3js API 中文手册
https://github.com/d3/d3/wiki/API–%E4%B8%AD%E6%96%87%E6%89%8B%E5%86%8C

原创粉丝点击