Skip to content

Commit

Permalink
Version the install commands in the Migration guide
Browse files Browse the repository at this point in the history
If you run `npm install canjs --save` in a 2.3 project, it’ll just install the latest version of 2.3, not CanJS 3.
  • Loading branch information
chasenlehara committed Feb 8, 2017
1 parent a348045 commit 8384c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/can-guides/commitment/migrating_to_3.0.md
Expand Up @@ -129,7 +129,7 @@ Component.extend({
If you are already using `can` through npm, simply run the following command to install the latest version:

```
npm install can --save
npm install can@3 --save
```

This will update your `package.json` to look something like this:
Expand Down Expand Up @@ -244,7 +244,7 @@ Instead, the first argument to [can-construct.extend] is the name of the constru
If you use StealJS, you’ll need to install [steal-stache] to load your templates:
```
npm install steal-stache --save
npm install steal-stache@3 --save
```
If you’re using StealJS 0.16, you don’t need to do anything else to make your templates load correctly.
Expand Down

0 comments on commit 8384c0f

Please sign in to comment.