I am using an angular application, I am already using courier email and it works flawlessly.
I wanted to integrate the courier inbox, but I am not able to. I went to the documentation but it didn't work, it throwed an error.
v3.9.1.js:2 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'appendChild')
at v3.9.1.js:2:261530
at f (v3.9.1.js:2:6744)
at Generator.<anonymous> (v3.9.1.js:2:8062)
at Generator.next (v3.9.1.js:2:7154)
at e (v3.9.1.js:2:249976)
at u (v3.9.1.js:2:261900)
at v3.9.1.js:2:261959
at new Promise (<anonymous>)
at v3.9.1.js:2:261840
at v3.9.1.js:2:262002
I would love to see an example or a guide I can follow.
Thank you.
Edit:
I further debugged and fix this issue. It still doesn't works in angular.
The only issue is when <courier-toast> and <courier-inbox> are inside app component or any other component they don't work but the backend works, I can see notification arriving in the network tab.
When I moved this two in index.html they worked till the app-root was loading.
Hii courier team,
I am using an angular application, I am already using courier email and it works flawlessly. I wanted to integrate the courier inbox, but I am not able to. I went to the documentation but it didn't work, it throwed an error.
I would love to see an example or a guide I can follow. Thank you.
Edit:
I further debugged and fix this issue. It still doesn't works in angular. The only issue is when
<courier-toast>
and<courier-inbox>
are inside app component or any other component they don't work but the backend works, I can see notification arriving in the network tab.When I moved this two in index.html they worked till the
app-root
was loading.