Skip to content

Conversation

josephrexme
Copy link

No description provided.

@josephrexme
Copy link
Author

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>
Copy link
Member

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

@posva
Copy link
Member

posva commented Aug 17, 2017

@josephrexme It does work for me though...

@josephrexme
Copy link
Author

I just changed it to use vue-cli instead

```

> 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
Copy link

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.

@yyx990803
Copy link
Member

Thanks for the PR, but I don't really think there's a point in installing vue-cli locally in your project. It's used to create a project in the first place and itself is not updated that often.

@yyx990803 yyx990803 closed this Feb 5, 2018
@rashnk
Copy link

rashnk commented Sep 24, 2018

I didnot install vue-cli globally, npx vue create hello-world worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants