question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"vue create" in current directory

See original GitHub issue

What problem does this feature solve?

Currently the only option, I’m aware of, to create a new project is to let vue-cli create it’s folder from scratch somewhere in the current directory as a subfolder. I’d like an option to create the project in the directory where vue-cli command was invoked.

What does the proposed API look like?

# when run without specifiying project's name, vue-cli would use the current dir's name and place all the new files in the current directory
vue create

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:34
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

61reactions
sodateacommented, Sep 18, 2018

Creating project in current directory is already supported by running vue create . (https://github.com/vuejs/vue-cli/pull/916) As for the folder naming issue, I think this thread https://github.com/facebook/create-react-app/issues/2165#issuecomment-301627339 has given some very persuasive arguments.

50reactions
AndrewBrocommented, Jun 21, 2019

Just try vue create .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a Project | Vue CLI
For new projects, it is now recommended to use create-vue to scaffold ... be stored in a JSON file named .vuerc in your...
Read more >
How to add vue-cli to the existing project? - Stack Overflow
To initiate the development server, choose your sub-directory or folder (under your newly merged app), open the terminal, cd to the folder path( ......
Read more >
[Help] How to Create Project in Current Dir in Vue UI - Reddit
On the previous page, select the `Websites` directory, and not the `Websites/quiz` directory. Then you can create it in the `quiz` directory on ......
Read more >
How to create new projects with the Vue CLI
The Projects tab shows the existing Vue projects. The Create tab is the one we need. Clicking it, select the folder you want...
Read more >
Creating a breadcrumb from the current path | Vue.js 2.x by ...
Creating a breadcrumb from the current path ... The breadcrumb component is going to list each folder depth as a link to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found