Skip to content

Commit 30c11a1

Browse files
posvayyx990803
authored andcommitted
Add quotes around webpack#1.0 (#261)
Closes #243 The `#` character has a special meaning in ZSH requiring the use of surrounding quotes
1 parent 365ffe8 commit 30c11a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,19 @@ The `skipInterpolation` field in the metadata file should be a [minimatch glob p
198198
The format needed for a specific official template is:
199199

200200
```
201-
vue init <template-name>#<branch-name> <project-name>
201+
vue init '<template-name>#<branch-name>' <project-name>
202202
```
203203

204204
Example:
205205

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

208208
```
209-
vue init webpack-simple#1.0 mynewproject
209+
vue init 'webpack-simple#1.0' mynewproject
210210
```
211211

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

213215
### License
214216

0 commit comments

Comments
 (0)