Skip to content

vue create . does not allow upper case letters. Causes headaches when integrating into existing project #5032

Closed
@MarkBMtz

Description

@MarkBMtz

What problem does this feature solve?

When integrating vue into existing web frameworks like Aspnet you cannot install into the root web project unless your aspnet web projects folder is all lower case.

Most guidelines on the web say to make a sub folder called app that you stuff everything into. That seems like a hack. I assume the casing restriction is due to npm package.json restrictions.

What does the proposed API look like?

Allow users to create a package.json file ahead of time and take the name from that instead.

So steps to add vue to existing project could be

npm init --yes

vue create .

If the naming restriction goes beyond package.json, just add a --lower-name flag or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions