Skip to content

Commit

Permalink
feat: 添加forms部分
Browse files Browse the repository at this point in the history
  • Loading branch information
damingerdai committed Jan 24, 2019
1 parent 86cdb59 commit 6a81471
Show file tree
Hide file tree
Showing 6 changed files with 1,163 additions and 8 deletions.
15 changes: 8 additions & 7 deletions src/app/routes/base/base-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { CardsComponent } from './cards/cards.component';
import { CarouselsComponent } from './carousels/carousels.component';
import { CollapsesComponent } from './collapses/collapses.component';
import { PaginationsComponent } from './paginations/paginations.component';
import { FormsComponent } from './forms/forms.component';

const routes: Routes = [
{
Expand Down Expand Up @@ -37,13 +38,13 @@ const routes: Routes = [
title: 'Collapses'
}
},
// {
// path: 'forms',
// component: FormsComponent,
// data: {
// title: 'Forms'
// }
// },
{
path: 'forms',
component: FormsComponent,
data: {
title: 'Forms'
}
},
{
path: 'paginations',
component: PaginationsComponent,
Expand Down
4 changes: 3 additions & 1 deletion src/app/routes/base/base.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import { CarouselsComponent } from './carousels/carousels.component';
import { SharedModule } from '../../shared/shared.module';
import { CollapsesComponent } from './collapses/collapses.component';
import { PaginationsComponent } from './paginations/paginations.component';
import { FormsComponent } from './forms/forms.component';

@NgModule({
declarations: [
CardsComponent,
CarouselsComponent,
CollapsesComponent,
PaginationsComponent
PaginationsComponent,
FormsComponent
],
imports: [
SharedModule,
Expand Down
Loading

0 comments on commit 6a81471

Please sign in to comment.