'muti app into single app angular route not working

here artist,user under the project folder. iam run server user is workig but artists not working

artists app.module

export class AppSharedModule {
  static forRoot(): ModuleWithProviders<AppSharedModule> {
    return {
      ngModule: AppSharedModule
    };
  }
}

artist-route

 path: 'artist/dashboard',
        component: MainDashboardComponent,

user-app.module

   AppSharedModule.forRoot(),

angular.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "user": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:application": {
          "strict": true
        }
      },
      "root": "projects/user",
      "sourceRoot": "projects/user/src",
      "prefix": "app",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/user",
            "index": "projects/user/src/index.html",
            "main": "projects/user/src/main.ts",
            "polyfills": "projects/user/src/polyfills.ts",
            "tsConfig": "projects/user/tsconfig.app.json",
            "assets": [
              "projects/user/src/favicon.ico",
              "projects/user/src/assets"
            ],
            "styles": [
              "projects/user/src/styles.css"
            ],
            "scripts": []
          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kb",
                  "maximumError": "4kb"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "projects/user/src/environments/environment.ts",
                  "with": "projects/user/src/environments/environment.prod.ts"
                }
              ],
              "outputHashing": "all"
            },
            "development": {
              "buildOptimizer": false,
              "optimization": false,
              "vendorChunk": true,
              "extractLicenses": false,
              "sourceMap": true,
              "namedChunks": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": {
              "browserTarget": "user:build:production"
            },
            "development": {
              "browserTarget": "user:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "user:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "projects/user/src/test.ts",
            "polyfills": "projects/user/src/polyfills.ts",
            "tsConfig": "projects/user/tsconfig.spec.json",
            "karmaConfig": "projects/user/karma.conf.js",
            "assets": [
              "projects/user/src/favicon.ico",
              "projects/user/src/assets"
            ],
            "styles": [
              "projects/user/src/styles.css"
            ],
            "scripts": []
          }
        }
      }
    },
    "artists": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:application": {
          "strict": true
        }
      },
      "root": "projects/artists",
      "sourceRoot": "projects/artists/src",
      "prefix": "app",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/artists",
            "index": "projects/artists/src/index.html",
            "main": "projects/artists/src/main.ts",
            "polyfills": "projects/artists/src/polyfills.ts",
            "tsConfig": "projects/artists/tsconfig.app.json",
            "assets": [
              "projects/artists/src/favicon.ico",
              "projects/artists/src/assets"
            ],
            "styles": [
              "projects/artists/src/styles.css"
            ],
            "scripts": []
          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kb",
                  "maximumError": "4kb"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "projects/artists/src/environments/environment.ts",
                  "with": "projects/artists/src/environments/environment.prod.ts"
                }
              ],
              "outputHashing": "all"
            },
            "development": {
              "buildOptimizer": false,
              "optimization": false,
              "vendorChunk": true,
              "extractLicenses": false,
              "sourceMap": true,
              "namedChunks": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": {
              "browserTarget": "artists:build:production"
            },
            "development": {
              "browserTarget": "artists:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "artists:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "projects/artists/src/test.ts",
            "polyfills": "projects/artists/src/polyfills.ts",
            "tsConfig": "projects/artists/tsconfig.spec.json",
            "karmaConfig": "projects/artists/karma.conf.js",
            "assets": [
              "projects/artists/src/favicon.ico",
              "projects/artists/src/assets"
            ],
            "styles": [
              "projects/artists/src/styles.css"
            ],
            "scripts": []
          }
        }
      }
    }
  },
  "defaultProject": "user"
}


**here user login page working but arist/dashboard under artists project not working how to solve **

**here user login page working but arist/dashboard under artists project not working how to solve ****here user login page working but arist/dashboard under artists project not working how to solve ** **here user login page working but arist/dashboard under artists project not working how to solve **



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source