You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Is not very clear to me why do the references in @Components need since 0.8.0 the local path prefix ./ like in in templateUrl: './app.component.html'. As I see it it only affects the NG CLI Branch.
Yes, Angular-CLI used to work fine with specifying just file names in the style or templateUrls properties. But one of their recent changes introduced the following error: Module not found: ... if you don't prepend ./. I think they are fixing the issue in angular/angular-cli#3838 so it will be more flexible meaning you can use both the old and new ways of specifying the component-relative files. For example, both of them will be allowed templateUrl: './app.component.html' and templateUrl: 'app.component.html'
Is not very clear to me why do the references in
@Components
need since 0.8.0 the local path prefix./
like in intemplateUrl: './app.component.html'
. As I see it it only affects the NG CLI Branch.Changes in this commit
ef655e8
or this pull request:
#17
The text was updated successfully, but these errors were encountered: