Skip to content

Commit

Permalink
feat(docs): update installation guide to latest cli version (#519)
Browse files Browse the repository at this point in the history
* update installation guide to latest cli version

The latest cli build (14) is based on webpack in the master branch so you don't need the `@webpack` anymore.

* Update 1-install-and-setup.md

Added lowest possible version of angular-cli
  • Loading branch information
cre8 authored and davideast committed Sep 20, 2016
1 parent a53fac0 commit 648666f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/1-install-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

> Getting started with AngularFire2 is easy with the [Angular CLI](https://github.com/angular/angular-cli). Follow the 10 steps below to get started. Don't worry, we're always working to make this shorter.
**The setups below use the Webpack branch of the [Angular CLI](https://github.com/angular/angular-cli).**

### 0. Prerequisites

Before you start installing AngularFire2, make sure you have correct version of angular-cli installed.
To verify run the command `ng -v` and ensure you see `angular-cli: 1.x.x-beta.x-webpack.x`.
Before you start installing AngularFire2, make sure you have latest version of angular-cli installed.
To verify run the command `ng -v` and ensure you see `angular-cli: 1.x.x-beta.xx`. The lowest compatible version is `1.x.x-beta.14`.

If not, you may need to do the following:

Expand All @@ -16,15 +14,15 @@ If not, you may need to do the following:
npm uninstall -g angular-cli

# reinstall clean version
npm install -g angular-cli@webpack
npm install -g angular-cli
```

You need the Angular CLI, typings, and TypeScript 2.0. TypeScript 2.0 is required for AngularFire2.

```bash
npm install -g angular-cli@webpack
npm install -g angular-cli
# or install locally
npm install angular-cli@webpack --save-dev
npm install angular-cli --save-dev
# make sure you have typings installed
npm install -g typings
npm install -g typescript@2.0.2
Expand Down

0 comments on commit 648666f

Please sign in to comment.