brandonroberts / angular-router-loader

A Webpack loader that enables string-based module loading with the Angular Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AOT compilation

tonimitrevski opened this issue · comments

Hi All. Please tell me what i wrong here, I want to compiling with AOT
screenshot_1
screenshot_2
screenshot_3

screenshot_5

with this option

The loader does the replacement for you, you don't need to paste and edit the code yourself. If you leave it as loadChildren: 'path/to/feature.module#FeatureModule'

It's ok, now i have problem with path
screenshot_1
screenshot_2
screenshot_4
screenshot_3

You should be using angular-router-loader version 0.5.0 and not angular2-router-loader

Thank you very much