Skip to content

If there will be a version-controlling script? #1662

Closed
@Cyame

Description

@Cyame

What problem does this feature solve?

I really love the features of vue2.0 and also heard of some fascinating updates in vue3.0 program. So I'd like to know would you keep the version of both 2 and 3, or 3 is a replacement of 2?
Actually, some great projects are powered by 2.0 and there are also some project based on 3.0. So it's hard for me to make a choice in the global environment.
Now, a trending solution of that is to build two local env of 2 and 3 with vue-cli as well, then put them into the $PATH with name modified. To be honest, it's not a good idea for it will manually change the executable file's name, which will bring some potential bugs in my opinion.

What does the proposed API look like?

So if you want to keep both the versions, I suggest for a script like python in Windows platform that we could use py -2 and py -3 to select base version from the global environment. Developer could use vue-cli -2 init webpack project and also vue-cli -3 create project or something like that.

Or if the 2.0 won't be maintained after a powerful 3.0 is done?

Appreciate.

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