Угловой ленивый загруженный модуль не смог перейти на дочерние маршруты

Как я сделал это на своем ноутбуке (btw https://get.docker.com/ubuntu/ больше не доступен):

$ wget -qO- https://get.docker.com/ | sh      # install resources
$ apt-cache showpkg docker-engine             # show version which are available
$ apt-get install docker-engine=1.8.2-0~willy # install 1.8.2 version
$ sudo apt-mark hold docker-engine            # prevent upgrade on sys upgrade
$ docker version                              # check installed docker version

1
задан mmounirf 13 July 2018 в 16:01
поделиться

1 ответ

попробуйте это

{
  path: '',
  component: AdminComponent,
  children: [
    {path: '', pathMatch: 'full', redirectTo: 'dashboard'},
    {
      path: 'dashboard', 
      component: DashboardComponent,
      children: [
        {path: 'users', component: UsersComponent },
        {path: 'reports', component: ReportsComponent },
        {path: 'booking', component: BookingComponent }
      ]
    }
  ]
}
0
ответ дан Dimitrios Vythoulkas 17 August 2018 в 12:26
поделиться
Другие вопросы по тегам:

Похожие вопросы: