I am attempting to test the Vite plugin federation using Angular. When loading the remote application in the host, I encounter the following error: Loading component: b: NG0203. I didn’t find examples of testing the Vite plugin federation using Angular, which is why I decided to build one, and I'm facing this issue.
Versions
vite-plugin-federation: v1.3.6
vite: v5.4.1
Reproduction
Here is a GitHub repository where I have both the host and remote applications: GitHub Repository
I am attempting to test the Vite plugin federation using Angular. When loading the remote application in the host, I encounter the following error: Loading component: b: NG0203. I didn’t find examples of testing the Vite plugin federation using Angular, which is why I decided to build one, and I'm facing this issue.
Versions
Reproduction
Here is a GitHub repository where I have both the host and remote applications:
GitHub Repository
i'm loading the remote using
here is my vite config for the remote
And here is my vite config for the host
Steps to reproduce
What is Expected?
I'm excpected to get the remote launching on host and displaying the counter button.
What is actually happening?
When i launch the project and try to load the remote i get the following error Knowing that the remote entry file is present in a http-server