Closed danilobatistaqueiroz closed 2 months ago
The problem was solved:
registerApplication({
name: "@labs/navbar",
app: () => (System.import("@labs/navbar") as any),
activeWhen: ["/"]
});
const y = await System.import('@labs/navbar');
registerApplication(
'@labs/navbar',
() => y.default,
location => location.pathname.startsWith('/')
);
The project in github: https://github.com/danilobatistaqueiroz/labs-single-spa
When I try to register an application in-root-config.ts I get these errors:
When using:
And this error when usig:
How I created the project:![Screenshot at 2024-06-17 11-46-23](https://github.com/single-spa/single-spa-playground/assets/32627919/af443597-bbc8-42b4-8a94-45d087353148)
package.json: