Skip to content

Commit

Permalink
Add quotes around webpack#1.0 (#261)
Browse files Browse the repository at this point in the history
Closes #243
The `#` character has a special meaning in ZSH requiring the use of surrounding quotes
  • Loading branch information
posva authored and yyx990803 committed Dec 20, 2016
1 parent 365ffe8 commit 30c11a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,17 +198,19 @@ The `skipInterpolation` field in the metadata file should be a [minimatch glob p
The format needed for a specific official template is:

```
vue init <template-name>#<branch-name> <project-name>
vue init '<template-name>#<branch-name>' <project-name>
```

Example:

Installing the [`1.0` branch](https://github.com/vuejs-templates/webpack-simple/tree/1.0) of the webpack-simple vue template:

```
vue init webpack-simple#1.0 mynewproject
vue init 'webpack-simple#1.0' mynewproject
```

_Note_: The surrounding quotes are necessary on zsh shells because of the special meaning of the `#` character.


### License

Expand Down

0 comments on commit 30c11a1

Please sign in to comment.