I am coaxing an Angular 2 application to Angular 7.  With help from this 
forum, I have everything working in an "NPM START" environment.  But I 
found in order to get the application to work in this environment, I had to 
shorten the path of all the template URL's from a full path to a relative 
path. .  But when I returned the application to its Docker container (we 
are using Gulp BTW), the application wanted the full path again or it 
wouldn't run.

To summarize here are the 3 environments and the path requirement for each.

Angular 2 Docker:       templateUrl: 'app/admin/label/spec.component.html'
Angular 7 NPM Start:  templateUrl: 'spec.component.html'
Angular 7 Docker:       templateUrl: 'app/admin/label/spec.component.html'

Can anyone explain why the path specification is different between these 
environments?

TIA

Harry 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to