Open villander opened 3 years ago
@villander try this
globalThis[Symbol.for('GLIMMER_VALIDATOR_REGISTRATION')] = false;
@rajasegar I put this code in the navbar/app.js
(the host app). It's working thank you!
Now I'm receiving this different error. I tried to use location.pathname.startsWith("/payments/")
on root-config but it doesn't work. Also, I had a look in your project here - I'm using the same way setting rootURL: '/payments'
Uncaught (in promise) Error: Assertion Failed: Path /payments does not start with the provided rootURL /payments/
If I access the URL manually http://localhost:9000/payments/
it will work, but how to make this work out of the box?
Other questions, the styles from the payments weren't applied, I'm using <WelcomePage />
component from ember, but it only shows the markup. How to inject the styles into every application?
@rajasegar when I change the locationType
to hash
it works perfectly removing this shit error. Do you have some idea why it happens? If I use hash
I can't access the nested routes, like payments.chargeback
directly.
Uncaught (in promise) Error: Assertion Failed: Path /payments does not start with the provided rootURL /payments/
@villander The above issue is related to this https://github.com/emberjs/ember.js/issues/19102
I'm using this guide as a reference - https://single-spa.js.org/docs/ecosystem-ember/
That's my
root-config
I'm getting this error when I try to access
http://localhost:9000/payments
The first app
navbar
is working well, but when I try to load a second app I have this error related with glimmer