Chrome extension: after React `npm run build` error: Uncaught TypeError: Cannot read property 'sendMessage' of undefined

前端 未结 0 1504
被撕碎了的回忆
被撕碎了的回忆 2021-01-24 02:59

I have an extension and a completely separate web-page which I wrote in React. I can no problem use chrome.runtime.sendMessage and it works perfectly. I\'m also usi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题