Skip to content

Commit

Permalink
docs: add double dash in init example
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 29, 2021
1 parent 0e8f4cb commit 3dd1187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:

```bash
npm init @vitejs/app my-vue-app --template vue
npm init @vitejs/app my-vue-app -- --template vue
```

Supported template presets include:
Expand Down

0 comments on commit 3dd1187

Please sign in to comment.