Open
Description
What problem does this feature solve?
Full stack projects might use a project structure where the web is only a certain part amongst e.g. the server, scripts, database definitions. Consider for example the default Go project structure. For such a project it is desirable to have the output of vue-cli
generated in a specific folder (web/
in the case. of go) that is not named just as the whole project, while the actual name (package.json) should still be the one of the application. As of now, I would need to manually rename the folder:
# create a web named 'my-cool-app'
$ vue create my-cool-app
# rename the target folder to a more generic name
$ mv my-cool-app web
IMHO it would be a great benefit to allow to (optionally) provide a different project name to vue-cli
, while the standard behaviour should remain (i.e. derive the project name from the output folder's name).
What does the proposed API look like?
# create the web 'my-web' in the 'web' directory
$ vue create --name my-web web