Closed xuoutput closed 3 years ago
Hi @xuoutput, apologies for the slow response here. The following part of your screenshot looks weird, and potentially a bug in single-spa-playground:
The url in that import map should not point to single-spa-playground.org, but rather to localhost:8500
The next step I'd take to diagnose the issue is check the Network tab in your devtools for a request to localhost:8500. Is one of them failing? Is CORS failing? If you open up the URL in its own browser tab, does it show a javascript file?
@xuoutput Try replacing the //localhost:8500/...
part in the Download URL
field with //127.0.0.1:8500/...
then refresh the playground page. I also experienced this problem with Firefox, it will send request to https://localhost
then fail with no reason no matter the cert is correct or not.
After
npx create-single-spa
click
http://single-spa-playground.org/playground/instant-test?name=@single-spa/add-react&url=8500
it is ok.
then I modify some code
alright![image](https://user-images.githubusercontent.com/16385443/92368789-c092fb80-f12a-11ea-9772-cd0375992ac1.png)
But how should I pass this step.
what's meaning Download URL?