You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use old angularjs and new app built in react. Converted the existing angularjs app to a single spa app. I can add a new frontend to this angularjs single spa app and it works.
But what I am trying to use the root config and embed the apps using the recommended way to use single spa. Created root config and react using single spa CLI.
<!--
This is the single-spa Layout Definition for your microfrontends.
See https://single-spa.js.org/docs/layout-definition/ for more information.
-->
<!-- Example layouts you might find helpful:
<nav>
<application name="@org/navbar"></application>
</nav>
<route path="settings">
<application name="@org/settings"></application>
</route>
-->
<main>
<route default>
<!-- <application name="@myApp/newapp"></application> -->
<application name="oldapp"></application>
</route>
</main>
</single-spa-router>
I am trying to use old angularjs and new app built in react. Converted the existing angularjs app to a single spa app. I can add a new frontend to this angularjs single spa app and it works.
But what I am trying to use the root config and embed the apps using the recommended way to use single spa. Created root config and react using single spa CLI.
//Root config:
// layout page:
index.ejs
//angular app
I get the error:
Did some debugging, the module cannot be found. What is the issue? Why is the module not loaded? If I use the oldapp single spa separately, it works.
https://stackoverflow.com/questions/70528119/cannot-integrate-angularjs-spa-in-a-root-layout-using-microfrontend-layout
The text was updated successfully, but these errors were encountered: