Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(angular): update remote entry component selector to use the provi…
…ded prefix (#10561)
- Loading branch information
1 parent
7ce487e
commit edea01a
Showing
4 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...ages/angular/src/generators/setup-mfe/files/entry-module-files/entry.component.ts__tmpl__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
@Component({<% if (prefix) { %> | ||
selector: '<%= prefix %>-<%= appName %>-entry', | ||
template: `<<%= prefix %>-nx-welcome></<%= prefix %>-nx-welcome>`<% } else { %> | ||
selector: '<%= appName %>-entry', | ||
template: `<<%= prefix %>-nx-welcome></<%= prefix %>-nx-welcome>` | ||
template: `nx-welcome></nx-welcome>`<% } %> | ||
}) | ||
export class RemoteEntryComponent {} |
8 changes: 4 additions & 4 deletions
8
packages/angular/src/generators/setup-mfe/files/entry-module-files/entry.module.ts__tmpl__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters