|
14 | 14 | > 4. Bundling (webpack) |
15 | 15 | |
16 | 16 | ## directory structure |
17 | | -> * ### `src/` is root directory for a chrome extension. it includes `manifest.json` file and other static stuff. |
| 17 | +> * `src/` is root directory for a chrome extension. it includes `manifest.json` file and other static stuff. |
18 | 18 | |
19 | | -> * ### `src/background.js` is main background js file for the chrome extension. |
| 19 | +> * `src/background.js` is main background js file for the chrome extension. |
20 | 20 | |
21 | | - > * ### `popup-page` is the directory which includes react js setup for popup page. |
| 21 | + > * `popup-page` is the directory which includes react js setup for popup page. |
22 | 22 | |
23 | | - > * ### `content-scripts` is the directory directory which includes react js setup for content script. |
| 23 | + > * `content-scripts` is the directory directory which includes react js setup for content script. |
24 | 24 | |
25 | | - > * ### `src/utils` is the directory for utilities that can be written in es6,es7 or es8... |
| 25 | + > * `src/utils` is the directory for utilities that can be written in es6,es7 or es8... |
26 | 26 | |
27 | 27 | ## How to extend ? |
28 | 28 |
|
29 | | -> ### * Write chrome extension's background scripts code in `src/background.js` |
| 29 | +> * Write chrome extension's background scripts code in `src/background.js` |
30 | 30 | |
31 | | -> ### * Write chrome extension's popup page codes in `popup-page` Reactjs directory system. |
| 31 | +> * Write chrome extension's popup page codes in `popup-page` Reactjs directory system. |
32 | 32 | |
33 | | - > ### * Write chrome extension's content scripts codes in `content-scripts` Reactjs directory system. |
| 33 | + > * Write chrome extension's content scripts codes in `content-scripts` Reactjs directory system. |
0 commit comments