单上手:
你可以在这里找到完整的入门指南,确保你安装了 Node.js,Git (可选), Ruby 和 Compass (如果你计划使用Compass).
安装必须的工具到全局
1
|
npm install -g yo
|
这条命令将会自动安装 Grunt 和 Bower
yo 能生成很多种类型的应用程序,但它需要插件或者”generators”来帮助完成工作。要使用脚手架生成AngularJS程序,你需要先得到AngularJS的生成器。
1
|
npm install -g generator-angular
|
注:很多生成器都会自动安装yo ,grunt以及bower。
你使用npm安装更多的生成器模板,或者创建自己的yeoman模板,你可以在这里找到一份列表。
使用:
1
2
3
4
5
|
yo angular #自动生成AngularJS项目
bower install angular-ui #使用Bower给你的项目安装依赖
grunt test #运行单元测试
grunt server #预览你的程序
grunt #编译你的程序用于发布
|
你可以在Yeoman官网获取到更多信息 http://yeoman.io/
相关推荐
Angular 本身使用 TypeScript 写成 的。它将核心功能和可选功能作为一组 TypeScript 库进行实现,你可以把它们导入你的应用中。 Angular 的基本构造块是 NgModule,它为组件提供了编译的上下文环境。 NgModule 会把...
Key Features, Get up to date with the latest changes to Angular 2, including the improvements to directives, change detection, dependency injection, router, and moreUnderstand Angular 2's new ...
使用angular的过程中有时会出现数据已经更新了,但是对于的视图没有更新,针对这一情况,可以是用angular提供的方法强制更新视图。 这里使用NGZone来更新视图 import {NgZone} from '@angular/core'; constructor...
Angular-angular2-mdl.zip,基于Material Design Lite的Angular 2、4、5、6、7、8组件、指令和样式(NPM:@Angular MDL/Core)基于Material Design Lite的Angular 8组件、指令和样式https://getmdl.io(v:1.3.0)。...
Angular 2 introduces an entirely new paradigm of applications. It wholly embraces all the newest concepts that are built into the next generation of browsers, and it cuts away all the fat and bloat ...
Chapter 1, Strategies for Upgrading to Angular 2, is an overview of a number of ways to migrate an Angular 1 application to Angular 2. Although there is no one-size-fits-all upgrade strategy, you will...
Angular-angular-electron-dream-starter.zip,Angular Electron初学者工具包,包括Webpack、Angular 4(路由器、HTTP、表单、服务、NGRX、测试、E2E、覆盖范围)、Karma、Spectron、Jasmine、伊斯坦布尔,以及带有...
Learn Angular: The Collection By 作者: David Aden Pub Date: 2018 ISBN: n/a Pages: 657 Language: English This book is for all front-end developers who want to become proficient with Angular and its ...
angular2工程搭建 一、编译和运行环境搭建 1、node.js和npm安装 a、下载地址:https://nodejs.org/en/download/ b、通过node -v 和 npm -v检查是否正确安装 c、下载工程: 略 d、进入工程目录 cd ...
angular2文档,We developed this book to be used as course material for Rangle's Angular 2 training, but many people have found it to be useful for learning Angular 2 on their own. This book will cover...
从官网angularjs org扒下来的 包含angular js angular min js angular min js map angular route js angular route min js之类等等 AngularJS是为了克服HTML在构建应用上的不足而设计的 它通过新的属性和表达式...
从官网angularjs org扒下来的 包含angular js angular min js angular min js map angular route js angular route min js之类等等 AngularJS是为了克服HTML在构建应用上的不足而设计的 它通过新的属性和表达式...
Angular 2 By Example by Chandermani Arora English | 4 Nov. 2016 | ISBN: 178588719X | 458 Pages | MOBI/EPUB/PDF | 12.97 MB Angular 2 will help you build faster, more efficient, and more flexible cross...
Angular-flask-angular-data-science.zip,数据科学入门应用程序的存储库,使用Flask、Angular和Docker。...
ng-book2-book-angular-6该书最新版R70. This book aims to be the single most useful resource on learning Angular. By the time you’re done reading this book, you (and your team) will have everything you...
Align your work to stable APIs of Angular, version 5 and beyond, with Angular expert Minko Gechev. Angular is the modern Google framework for you to build high-performance, SEO-friendly, and robust ...
从官网angularjs org扒下来的 包含angular js angular min js angular min js map angular route js angular route min js之类等等 AngularJS是为了克服HTML在构建应用上的不足而设计的 它通过新的属性和表达式...
Chapter 1, Introducing Angular, is an introduction to Angular as well as the concepts behind it. It also covers what it takes to start writing an Angular application. Chapter 2, Hello Angular, walks...
Learning Angular 2 English | 31 May 2016 | ISBN: 1785882074 | 352 Pages | AZW3/MOBI/EPUB/PDF (conv) | 6.1 MB Your quick, no-nonsense guide to building real-world apps with Angular 2 About This Book ...