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

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

Description

@shorttermproject

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions