Angular2的相关资料

UI类库

老牌的ng-bootstrap http://valor-software.com/ngx-bootstrap/#/

material angular https://material.angular.io/components 官方产品 目前在beta状态

ionic https://ionicframework.com/ 移动端适配的几乎唯一选择

好的代码示例

管理门户 https://github.com/akveo/ng2-admin

工具的使用,创建新工程

https://github.com/angular/angular-cli

先使用Npm  i -g angular-cli 安装

安装之后比较常用的就是

ng new

The Angular CLI makes it easy to create an application that already works, right out of the box. It already follows our best practices!

ng generate

Generate components, routes, services and pipes with a simple command. The CLI will also create simple test shells for all of these.

ng serve

Easily test your app locally while developing.

装完可以直接用ng– help看一下

第二个方案是使用 webpack

https://github.com/AngularClass/angular2-webpack-starter

Advertisements
此条目发表在爱好, 计算机与 Internet分类目录。将固定链接加入收藏夹。

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s