Skip to content
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

Fix the init message when init was done in same folder #181

Closed
chevdor opened this issue Sep 30, 2016 · 1 comment
Closed

Fix the init message when init was done in same folder #181

chevdor opened this issue Sep 30, 2016 · 1 comment

Comments

@chevdor
Copy link

chevdor commented Sep 30, 2016

vue-cli version

2.4.0

Steps to reproduce

  • go into the folder of an existing non-vuejs project (ie projectname)
  • do a vue init using vue-cli with whatever option (I used 'webpack').
  • answer the questions and when is comes to the one asking whether to create in the current folder, pick the default: YES

What is Expected?

The correct instructions/folder (see below).

What is actually happening?

To get started:

 cd projectname
 npm install
 npm run dev

Documentation can be found at https://vuejs-templates.github.io/webpack

If the init is done in the 'same folder', the cd projectname should not be displayed.

@zigomir
Copy link
Contributor

zigomir commented Sep 30, 2016

This is webpack template issue. We now support inPlace flag so you can provide better messages: https://github.com/vuejs/vue-cli#additional-data-available-in-metajsjson

You can open a pull request to webpack template and change this line https://github.com/vuejs-templates/webpack/blob/master/meta.json#L74 with support of inPlace flag ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants