Open wriver1 opened 3 years ago
@wriver1 were you able to find the solution?
I've only looked into this for a couple minutes, but here are some suggestions:
single-spa-react
v4.x, but in my package.json
file you can see that I'm using v2.x. If you're just trying to follow my tutorial, I'd recommend using the exact versions that I used. Otherwise, if you want to try with the latest version of the package, I'd recommend looking at the breaking changes in v3 and v4, and that should tell you how to fix your issue so that your code is compatible with the newer version.react
. That probably means you need to include a React bundle in your import map. Perhaps this is one of the breaking changes in single-spa-react
v3 or v4.
Hello Tyler, I'm following your tutorial in https://www.freecodecamp.org/news/developing-and-deploying-micro-frontends-with-single-spa/, but, I created the four apps (container app, nav, page 1 and page 2), I registered them as you show in your guide. When I go to try the microfrontends opening this URL http://localhost:9000 in the browser, it catches this error:
This is my index.ejs
thawkin3-root-config.js
The package.json file of the container app is:
finally, activity-function.js