提交 51e98530 编写于 作者: TodayCoding's avatar TodayCoding

ng-alain15-example main config routes routing

上级 56006885
......@@ -16,12 +16,15 @@ import { UserLoginComponent } from './passport/login/login.component';
import { UserRegisterResultComponent } from './passport/register-result/register-result.component';
import { UserRegisterComponent } from './passport/register/register.component';
import { QiankunContainerComponent } from './qiankun-container/qiankun-container.component';
const routes: Routes = [
{
path: '',
component: LayoutBasicComponent,
canActivate: [startPageGuard, SimpleGuard],
children: [
{ path: 'micro1/**', component: QiankunContainerComponent, data: { containerId: 'micro1' } },
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
{ path: 'dashboard', component: DashboardComponent, data: { title: '仪表盘', titleI18n: 'dashboard' } },
{ path: 'exception', loadChildren: () => import('./exception/exception.module').then(m => m.ExceptionModule) },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册