Hello!
I started my project with the QuickStart seed
<https://github.com/angular/quickstart> and added a sub directory
"operator" for a component in the app folder. Now my problem is, that the
templateUrl must be absolute in order to work:
@Component({
templateUrl: './app/operator/open.component.html'
I don't know what the cause is, but templateUrl: ./open.component.html
doesn't work (404 ./open.component.html). This was never the case before
and every example I found uses the relative/short path.
So does somebody have a clue what is going wrong? There was one Post
mentioning the <base href="/" element, but I already tried with and without
it. And I need it anyway for the Router module.
Best regards,
Billie
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.