daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. app/
  2. -- app.module
  3. -- app-routing.module
  4.  
  5. tsdmns-modules/
  6. -- loader-module/
  7. -- -- tsdmns-loader-module.module
  8. -- -- tsdmns-loader-module-routing.module
  9. -- -- views/
  10. -- -- -- tsdmns-loader-view-console.component
  11.    
  12. [AppModule]
  13. -----------
  14. import { BrowserModule } from '@angular/platform-browser';
  15. import { NgModule } from '@angular/core';
  16.  
  17. import { AppRoutingModule } from './app-routing.module';
  18. import { AppComponent } from './app.component';
  19. import { TestpageComponent } from './testpage/testpage.component';
  20.  
  21. @NgModule({
  22.   declarations: [
  23.     AppComponent,
  24.     TestpageComponent
  25.   ],
  26.   imports: [
  27.     BrowserModule,
  28.     AppRoutingModule,
  29.   ],
  30.   providers: [],
  31.   bootstrap: [AppComponent]
  32. })
  33. export class AppModule { }
  34.  
  35. -------------------------------------------------------------
  36.  
  37. [AppRoutingModule]
  38. ------------------
  39. import { NgModule } from '@angular/core';
  40. import { Routes, RouterModule } from '@angular/router';
  41. import { TestpageComponent } from './testpage/testpage.component';
  42.  
  43. const routes: Routes = [
  44.   {
  45.     path: 'test',
  46.     component: TestpageComponent
  47.   },
  48.   {
  49.     path: 'loader',
  50.     loadChildren: 'src/tsdmns-modules/loader-module/tsdmns-loader-module/tsdmns-loader-module.module#TsdmnsLoaderModuleModule'
  51.   }
  52. ];
  53.  
  54. @NgModule({
  55.   imports: [RouterModule.forRoot(routes)],
  56.   exports: [RouterModule]
  57. })
  58. export class AppRoutingModule { }
  59.  
  60. -------------------------------------------------------------
  61.  
  62. [TsdmnsLoaderModuleModule]
  63. --------------------------
  64. import { NgModule } from '@angular/core';
  65. import { CommonModule } from '@angular/common';
  66.  
  67. import { TsdmnsLoaderModuleRoutingModule } from './tsdmns-loader-module-routing.module';
  68.  
  69. @NgModule({
  70.   declarations: [],
  71.   imports: [
  72.     CommonModule,
  73.     TsdmnsLoaderModuleRoutingModule
  74.   ]
  75. })
  76. export class TsdmnsLoaderModuleModule { }
  77.  
  78. -------------------------------------------------------------
  79.  
  80. [TsdmnsLoaderModuleRoutingModule]
  81. ---------------------------------
  82. import { NgModule } from '@angular/core';
  83. import { Routes, RouterModule } from '@angular/router';
  84. import { TsdmnsLoaderViewConsoleComponent } from '../views/tsdmns-loader-view-console/tsdmns-loader-view-console.component';
  85.  
  86. const routes: Routes = [
  87.   {
  88.     path: '',
  89.     component: TsdmnsLoaderViewConsoleComponent
  90.   }
  91. ];
  92.  
  93. @NgModule({
  94.   imports: [RouterModule.forChild(routes)],
  95.   exports: [RouterModule]
  96. })
  97. export class TsdmnsLoaderModuleRoutingModule { }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top