Single SPA React Application Micro frontend

312 views Asked by At

I have react application that is developed in create react app.

Now i am integrating micro frontend using single spa.

I have converted React application as single spa. Working fine.

Problem :

I have another react application which is developed in CRA(create react app).This application also I integrated with Single SPA

Now i need to integrate with main application.

Sample code:

https://github.com/gokulwebdeveloper/single-spa registerApplication( 'weather', () => System.import('http://localhost:8500/sample-sample.js'), () => location.pathname === "/weather" || location.pathname === "/" ? true : false );

Please help me to fix.

0

There are 0 answers