yarn
yarn dev
chat on every website.
src/
is root directory for a chrome extension. it includesmanifest.json
file and other static stuff.
src/background.js
is main background js file for the chrome extension.
popup-page
is the directory which includes react js setup for popup page.
content-scripts
is the directory directory which includes react js setup for content script.
src/utils
is the directory for utilities that can be written in es6,es7 or es8...
- Write chrome extension's background scripts code in
src/background.js
- Write chrome extension's popup page codes in
popup-page
Reactjs directory system.
- Write chrome extension's content scripts codes in
content-scripts
Reactjs directory system.
REFs: https://github.com/firebase/quickstart-js/tree/master/auth/chromextension https://reactjsexample.com/ https://codelabs.developers.google.com/codelabs/firebase-web/#1