Skip to content

Commit ffe3e74

Browse files
authored
fix docs no compiling (#74)
1 parent 468b97d commit ffe3e74

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

apps/docs/src/app/app-routing.module.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
33

4+
import { LandingComponent } from './containers/landing/landing.component';
45
import {
6+
PerformanceComponent,
57
AngularPerfComponent,
6-
ComponentDocsComponent,
7-
DocsComponent,
8-
FabricComponent,
9-
GettingStartedComponent,
10-
LandingComponent,
118
MixedPerfComponent,
12-
PerformanceComponent,
139
ProfilesComponent,
10+
} from './containers/performance/performance.module';
11+
import {
12+
ComponentDocsComponent,
13+
FabricComponent,
1414
SemanticUiComponent,
15-
WrappersComponent,
16-
} from './containers';
15+
} from './containers/component-docs/component-docs.module';
16+
import { DocsComponent, GettingStartedComponent, WrappersComponent } from './containers/docs/docs.module';
1717

1818
const routes: Routes = [
1919
{ path: 'landing', redirectTo: '' },

apps/docs/src/app/app.module.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
2-
import { BrowserModule } from '@angular/platform-browser';
32
import { NxModule } from '@nrwl/nx';
43
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
54

6-
import { AngularReactBrowserModule, registerElement } from '@angular-react/core';
5+
import { AngularReactBrowserModule } from '@angular-react/core';
76

8-
import { SharedModule } from './shared';
9-
import { ComponentsModule } from './components';
10-
import { LandingComponent, ComponentDocsModule, DocsModule, PerformanceModule } from './containers';
117
import { MaterialModule } from './material.module';
128
import { AppRoutingModule } from './app-routing.module';
13-
import { ReactComponentsModule } from './react-components';
149
import { AppComponent } from './app.component';
1510
import { FabricModule } from './fabric.module';
1611
import { SemanticModule } from './semantic.module';
12+
import { SharedModule } from './shared/shared.module';
13+
import { ReactComponentsModule } from './react-components/react-components.module';
14+
import { ComponentsModule } from './components/components.module';
15+
import { ComponentDocsModule } from './containers/component-docs/component-docs.module';
16+
import { DocsModule } from './containers/docs/docs.module';
17+
import { PerformanceModule } from './containers/performance/performance.module';
18+
import { LandingComponent } from './containers/landing/landing.component';
1719

1820
@NgModule({
1921
imports: [

apps/docs/src/app/components/components.module.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
import { RouterModule } from '@angular/router';
2-
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
2+
import { NgModule } from '@angular/core';
33
import { CommonModule } from '@angular/common';
44

5-
import { ReactComponentsModule } from '../react-components';
6-
75
import { DotComponent } from './dot/dot.component';
86
import { TriangleComponent } from './triangle/triangle.component';
97
import { NavbarComponent } from './navbar/navbar.component';
108
import { MaterialModule } from '../material.module';
119
import { IconsComponent } from './icons/icons.component';
1210
import { SubNavComponent } from './sub-nav/sub-nav.component';
13-
import { SharedModule } from '../shared';
1411
import { FabricModule } from '../fabric.module';
1512
import { PageHeaderComponent } from './page-header/page-header.component';
13+
import { ReactComponentsModule } from '../react-components/react-components.module';
14+
import { SharedModule } from '../shared/shared.module';
1615

1716
const components = [
1817
DotComponent,

apps/docs/src/app/containers/component-docs/component-docs.module.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44

5-
import { ReactComponentsModule } from '../../react-components';
6-
import { SharedModule } from '../../shared';
7-
import { ComponentsModule } from '../../components';
8-
95
import { ComponentDocsComponent } from './component-docs.component';
106
import { FabricComponent } from './fabric/fabric.component';
117
import { SemanticUiComponent } from './semantic-ui/semantic-ui.component';
128
import { MaterialModule } from '../../material.module';
139
import { FabricModule } from '../../fabric.module';
1410
import { SemanticModule } from '../../semantic.module';
11+
import { ReactComponentsModule } from '../../react-components/react-components.module';
12+
import { SharedModule } from '../../shared/shared.module';
13+
import { ComponentsModule } from '../../components/components.module';
1514

1615
const components = [ComponentDocsComponent, FabricComponent, SemanticUiComponent];
1716

apps/docs/src/app/containers/docs/docs.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44

55
import { MaterialModule } from '../../material.module';
6-
import { ReactComponentsModule } from '../../react-components';
7-
import { SharedModule } from '../../shared';
8-
import { ComponentsModule } from '../../components';
96

107
import { DocsComponent } from './docs.component';
118
import { FabricModule } from '../../fabric.module';
129
import { GettingStartedComponent } from './getting-started/getting-started.component';
1310
import { WrappersComponent } from './wrappers/wrappers.component';
11+
import { ComponentsModule } from '../../components/components.module';
12+
import { ReactComponentsModule } from '../../react-components/react-components.module';
13+
import { SharedModule } from '../../shared/shared.module';
1414

1515
const components = [DocsComponent, GettingStartedComponent, WrappersComponent];
1616

apps/docs/src/app/containers/performance/performance.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44

55
import { MaterialModule } from '../../material.module';
6-
import { ReactComponentsModule } from '../../react-components';
7-
import { SharedModule } from '../../shared';
8-
import { ComponentsModule } from '../../components';
96

107
import { AngularPerfComponent } from './angular-perf/angular-perf.component';
118
import { MixedPerfComponent } from './mixed-perf/mixed-perf.component';
129
import { PerformanceComponent } from './performance.component';
1310
import { ProfilesComponent } from './profiles/profiles.component';
1411
import { FabricModule } from '../../fabric.module';
12+
import { ReactComponentsModule } from '../../react-components/react-components.module';
13+
import { SharedModule } from '../../shared/shared.module';
14+
import { ComponentsModule } from '../../components/components.module';
1515

1616
const components = [AngularPerfComponent, MixedPerfComponent, PerformanceComponent, ProfilesComponent];
1717

0 commit comments

Comments
 (0)