facebook

Project with multiple projects

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #606544 Reply

    maximemaureva
    Participant

    Hello all,

    I have multiple project in my elcipse angular project and I do not find the way to configure the server start option to add the project I want to start.

    I need to do the following :
    ng serve MyProject

    Thanks for your help

    #606556 Reply

    maximemaureva,

    To understand your query correctly, can you please clarify if your Angular project structure is such that main angular project has sub projects in it like this – mainproject/projects/subapp1 ?

    Please refer the attached screenshot ‘angular_project_strcuture’ ?

    If yes, then you can modify the angular project run configuration as follows –
    1. Right click main project.
    2. Run as > Select Run Configuration.
    3. Select Angular CLI Application in launch config window.
    4. Edit Run config to add this command in Custom ‘ng serve’ command arguments section:
    Ng serve --project <sub project name>
    Please refer the screenshot ‘ang-launch-config’
    5. Click Run button in the updated run configuration.
    Sub project should now start running in the browser as shown in screenshot ‘running-sub-project’

    Let us know if it helps.

    Regards,
    Shilpee

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Project with multiple projects

You must be logged in to post in the forum log in