jhen0409 / react-chrome-extension-boilerplate

Boilerplate for Chrome Extension React.js project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot GET

johnrosenbaud11 opened this issue · comments

Hello there, I installed the boilerplate and it works, rendering the toDoApp, however, when I open a tab on port 3000, it says Cannot GET / :

image

this is terminal webpack output:

image

Is anyone else experiencing the same issue? Any suggestions on how to tackle this?

It's expected, the dev server just provides http://localhost:3000/js/*.bundle.js for the extension usage on development mode.

Thanks a lot. I am trying to add a chrome.runtime.onMessage.addListener() in background.js, I placed everywhere in the page but does not work, do you have any tips on where specifically should be placed?