Skip to content

Support multiple projects in subfolders #4499

Open
@yekver

Description

@yekver

What problem does this feature solve?

I have this folder structure:

project
|--client
|--admin
|--package.json

And I would like to run vue-cli-service for subfolders (client, admin) to build them separately. But it's failed with an error:

npx vue-cli-service serve ./admin

 ERROR  Failed to compile with 2 errors                                                                                                                                                         12:29:28

This dependency was not found:

* /Users/yekver/project/admin in multi (webpack)-dev-server/client?http://192.168.47.58:8080/sockjs-node (webpack)/hot/dev-server.js ./admin, multi (webpack)-dev-server/client?http://localhost (webpack)/hot/dev-server.js (webpack)-dev-server/client?http://192.168.47.58:8080/sockjs-node ./admin

To install it, you can run: npm install --save /Users/yekver/project/admin
Type checking in progress...

What does the proposed API look like?

There should be an ability to have just one package.json files in root and have different configs for projects located in subfolders.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions