These are chat archives for AngularClass/angular2-webpack-starter

14th
Mar 2017
Ritwik Banerjee
@ritwbanerjee
Mar 14 2017 19:26
@FMurray create a cached assets.json that will have a JSON map object which has the key name of the asset and the url as the value. The Url can be local
and dump all the assets in the assets folder inside /public/assets
Note: this cached assets.json can reside on your node layer
@akmittal Can you give an example of the incorrect behavious that you are seeing.
From what I see in your code /destinations will load DestinationListComponent, /create will load DestinationDetailsComponent, /create/<anything> will load DestinationDetailsComponent, /<anything>/<anything> will load DestinationDetailsComponent
Ritwik Banerjee
@ritwbanerjee
Mar 14 2017 19:33
So you are loading the same component in 3 different routes
Forrest Murray
@FMurray
Mar 14 2017 20:03
@ritwbanerjee in the branch I started from I only have /src/assets. I assume this is what you mean by /public/assets? Also I'm not sure how to explicitly define server behavior to make use of the cache since right now I'm just using the default webpack-dev-server .