Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Angular elements - Issue serving react with templateUrl or styleUrls #6

Open
shorttermproject opened this issue Aug 13, 2019 · 0 comments

Comments

@shorttermproject
Copy link

I am finding the blog posts and the examples very helpful!
I was using the angular-elements branch and it mostly works except for one issue:
In nx-angular-and-react/libs/ui/src/lib/greeting.component.ts if I use a file for the template or a file for the css and ng serve reactapp, the component fails to load and can't find the files.

import { Component, Input } from '@angular/core';

@Component({
  templateUrl: './greeting.component.html',
})
export class GreetingComponent {
  @Input() title: string;
}

Do you happen to know why this might happen?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant