jhen0409 / react-chrome-extension-boilerplate

Boilerplate for Chrome Extension React.js project
MIT License
2.14k stars 388 forks source link

cannot GET #62

Closed johnrosenbaud11 closed 7 years ago

johnrosenbaud11 commented 7 years ago

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?

jhen0409 commented 7 years ago

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

johnrosenbaud11 commented 7 years ago

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?