-
-
Notifications
You must be signed in to change notification settings - Fork 427
Allow for creating app inside current directory like Vue CLI #582
Comments
I agree with the use case. For reference, you can just move all the files from the newly created sub-folder, into the root of the repo. |
In v3.4.0, you can specify the current directory and execute.
As a result, it seems that there are many cases where it is used as described above. As mentioned in #556 (comment), |
You can, but if there is a hidden .git directory from the previously mentioned “creating it on GitHub first” it won’t work. |
This is still an issue that would make life much easier if fixed |
What would need to be done to make this happen? |
it's also a problem when working with Visual Studio Code and DevContainers [1]. Then you always have a hidden ".devcontainer" directory there and you always have to create the nuxt app in a sub-directory. |
#799 (--overwrite-dir) has been merged and released |
Vue CLI allows the user to create a new app inside the current directory, and it will name the app the same as the directory:
vue create .
The use case for this is that it's really common to first create a repository (e.g. on GitHub), clone it, and then create the new app.
Right now to do the same with
create-nuxt-app
the user has to run (eg the repo name is my-website.com):This means you end up with
my-website.com\my-website.com
and then you need to basically move the contents up one directory to be in the root.The text was updated successfully, but these errors were encountered: