-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to run vue-cli through npx #564
Conversation
I just realized this isn't working as expected right now so it's great that it isn't merged yet. I created an issue for this at zkat/npx#112 |
README.md
Outdated
Or you may use npx and avoid global install if you are on npm >= 5 | ||
|
||
```bash | ||
npx vue init <template-name> <project-name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, we have to provide vue-cli
to npx
@josephrexme It does work for me though... |
I just changed it to use |
README.md
Outdated
@@ -16,7 +16,11 @@ $ npm install -g vue-cli | |||
$ vue init <template-name> <project-name> | |||
``` | |||
|
|||
> You can also avoid installing the CLI and run **npx vue init <template-name> <project-name>** | |||
Or you may use npx and avoid global install if you are on npm >= 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: npx and the workflow are also supported on npm 4.3.
Thanks for the PR, but I don't really think there's a point in installing |
I didnot install vue-cli globally, |
No description provided.