Skip to content

Commit

Permalink
docs(create-app): add npm@7 and yarn usage (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
songkeys authored Mar 15, 2021
1 parent 74e6f3d commit 2cdb3f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/create-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ 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 6.x
npm init @vitejs/app my-vue-app --template vue

# npm 7+, extra double-dash is needed:
npm init @vitejs/app my-vue-app -- --template vue

# yarn
yarn create @vitejs/app my-vue-app --template vue
```

Currently supported template presets include:
Expand Down

0 comments on commit 2cdb3f6

Please sign in to comment.