Skip to content

Support multiple projects, shared libraries #3087

Description

@ionitron-bot

Ionic version: (check one with "x")
[x] 4.x

I'm submitting a ... (check one with "x")
[x] feature request

Current behavior:

Thank you for developing nice framework Ionic.
As Ionic 4 alpha release, i am considering to managing Ionic project with multiple other angular apps in one repository.

...
node_modules/
projects/
    core/
    ionic-app/
        src/
        ionic.config.json
        ...
    pc/
        src/ 
    electron/
        src/ 
    mobile-web/
        src/ 
tsconfig.json
...

It means that we want to manage Ionic project on ./projects/ionic-app/ folder (not ./src/ folder)
However, current state of ionic serve/build only support root folder & src folder access.

Expected behavior:

should support --root options for custom project root folder

ionic serve --root ./projects/ionic-app/ 
ionic build --root ./projects/ionic-app/ 

this feature really helpful for enterprise web services which supports multiple apps (pc, desktop, mobile, app).

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

latest ionic 4.0.0-alpha.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions