Build a Chrome Extension With React & Webpack

Build a Chrome Extension With React & Webpack

Codify Tools

3 года назад

44,694 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@churraskindequeijo8418
@churraskindequeijo8418 - 10.04.2022 01:45

Thank you very much sir

Ответить
@Krow-n3o
@Krow-n3o - 10.04.2022 17:12

remember to add in webpack.config.js the code below if creating other files named (jsx|ts|tsx), otherwise you will get import errors while building the code.

resolve: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},

Ответить
@nevenpanchev441
@nevenpanchev441 - 19.04.2022 18:48

Amazing tutorial from start to finish :) Well done!

Ответить
@sunkanmiolaleye1799
@sunkanmiolaleye1799 - 20.04.2022 21:55

One the best tutorials I have seen. Thanks for sharing.

Ответить
@fareedezzedeen8017
@fareedezzedeen8017 - 25.04.2022 10:00

I prefer quasar with vuejs bex

Greate ui components, utls, and services

Ответить
@sanujatharinda6525
@sanujatharinda6525 - 29.04.2022 23:40

You explained 2 hours worth of content in just 17 minutes. Thank you very much...

Ответить
@anujchoudhary859
@anujchoudhary859 - 23.05.2022 11:10

Thanks man. This was really very helpful video.

Ответить
@CemKaraca
@CemKaraca - 25.05.2022 05:54

Loved how you explain step by step, thank you!

Ответить
@athipsirisawetkunwong4658
@athipsirisawetkunwong4658 - 27.05.2022 07:49

ผมรันไม่ได้ครับพี่ชาย

Ответить
@hiratlt
@hiratlt - 29.05.2022 04:32

If the extension shows a blank page:

Name the function in popup.jsx starting with an uppercase, for example: popup() is wrong but Popup() is right. I don't know why it doesn't let you use lowercase but this was the fix that solved my problem.

Thanks for the video.

Ответить
@mariomsumi822
@mariomsumi822 - 02.06.2022 10:07

Amazing.

Ответить
@koaladlt
@koaladlt - 25.06.2022 00:24

Hey there! Thanks a lot for this video. I'm having an issue and it's happening after dev and prod webpack setup.

After running npm run build or dev, I'm having this error:

Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.node should be one of these:
false | object { __dirname?, __filename?, global? }
-> Include polyfills or mocks for various node stuff.



if you have an answer, it'll be great.

Thanks a lot!

Ответить
@wadhahag8053
@wadhahag8053 - 29.06.2022 12:29

thank you for your time and consideration great video

Ответить
@codekhalipha7759
@codekhalipha7759 - 05.07.2022 19:41

How can we add content_script so we ca interact with web page
Thanks for this great tutorial

Ответить
@dumitru12cosmin
@dumitru12cosmin - 10.07.2022 14:10

I loved how clear you explained all those concepts I spent hours trying to understand. Great job!

Ответить
@Akkihearts007
@Akkihearts007 - 29.07.2022 22:23

Source please

Ответить
@juksaaapersin
@juksaaapersin - 14.08.2022 18:01

I appreciate your effort but you forgot to mention an important step like configuring multiple entry points for content scripts.
Also, if someone adds another entry point to this config, their entire JS will be bundled and linked with their popup.html (it must be configured in HtmlWebpackPlugin object with chunks). Also, stuff like css/sass, imgs, etc.
I think that would be an important thing to mention if you already showed this entire process.
Just a tip for your future videos. Cheers.

Ответить
@iiarahere
@iiarahere - 31.08.2022 05:12

Hi, thank you so much for this video! I'm trying to link an external CSS stylesheet to the jsx file but it doesn't seem to work, is there a way to do this and have the webpack configure the creation of the stylesheet and the import?

Ответить
@lookwhoneedsahobbie
@lookwhoneedsahobbie - 31.08.2022 23:42

Amazing tutorial. Answered all my questions. I especially love automating 'npm run build' on changes at the end. Thank you!!

Ответить
@navuyi3243
@navuyi3243 - 05.09.2022 12:33

Is there a way to write unit tests using Jest or something similiar???

Ответить
@pavanobhan1105
@pavanobhan1105 - 07.09.2022 00:10

I want to be able to scrape html tables and download csv using chrome extensions, how do I develop that? I followed ur tutorial till here. I have an interview on same, please reply

Ответить
@ironsand
@ironsand - 12.09.2022 19:29

REALLY outstanding. Thanks!

Ответить
@MrLmao9
@MrLmao9 - 30.09.2022 18:03

Perfectly explained, thanks!

Ответить
@user-pk1nw1is6c
@user-pk1nw1is6c - 11.10.2022 16:32

Super!

Ответить
@uppadaavinash3338
@uppadaavinash3338 - 23.11.2022 06:32

Awesome video, cleared all my doubts on react chrome extention. Great job!

Ответить
@takeshi_chin
@takeshi_chin - 24.11.2022 20:57

Amazing tutorial. Now I have to figure out how to use TypeScript in that project.

Ответить
@binodchaudhary17
@binodchaudhary17 - 01.01.2023 16:42

Greate tutorial! I tried to inject content script to gmail inbox but get an error => Uncaught Error: createRoot(...): Target container is not a DOM element. any solution?

Ответить
@ipdmartins
@ipdmartins - 23.01.2023 00:57

Excelent.

Ответить
@sunilharak7645
@sunilharak7645 - 23.01.2023 07:19

I'm getting error :Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

Ответить
@madmaxhasan
@madmaxhasan - 18.02.2023 11:33

Can you share what extension you use in vs code? The hint they provide is fantastic.

Ответить
@celestialgatewaycg
@celestialgatewaycg - 26.02.2023 23:31

I think I did something wrong, whenever I open a new tab, instead of the new tab itself, my extension page opens with the following error,
"Your file couldn't be accessed It may have been moved, edited, or deleted. ERR_FILE_NOT_FOUND"...
anyone else with this problem?

Ответить
@HackerFlavio
@HackerFlavio - 04.03.2023 09:55

this video is insane, extremely helpful, thankyou

Ответить
@DokebiAgent
@DokebiAgent - 09.03.2023 06:44

Thank you very much !!!

Ответить
@mrsam683
@mrsam683 - 27.03.2023 13:40

Thanks man, really helpful.

Ответить
@JeetPaul
@JeetPaul - 27.03.2023 22:31

I don't think HMR is supported here, can we trick it?

Ответить
@ThiwankaKasun
@ThiwankaKasun - 04.05.2023 19:32

nice video

Ответить
@Антошана
@Антошана - 24.07.2023 20:57

beautiful

Ответить
@bharatkumar-be9ki
@bharatkumar-be9ki - 20.08.2023 11:42

Awesome explaination, really helpful.

Ответить
@registercheck
@registercheck - 30.08.2023 18:14

thanks a lot! very helpful

Ответить
@randomapperatus3773
@randomapperatus3773 - 29.09.2023 17:52

Seems like there should be a way to do this with far less steps in the world of "productivity".

Ответить
@dani5318
@dani5318 - 08.11.2023 18:24

this video was incredibly well made, thank you for this :D

Ответить
@321123580
@321123580 - 19.11.2023 17:01

Very clear and helpful info, thank you a lot)

Ответить
@mollu7522
@mollu7522 - 20.11.2023 16:30

Your tutorial helped a lot! Thank you for your videos!

Ответить
@ginebro1930
@ginebro1930 - 23.01.2024 05:04

The best video out there about this and the channel has only 1 video, insane.

Ответить
@rude_boyie
@rude_boyie - 16.04.2024 13:27

Broh you do you only have one video of coding put out more

Ответить
@NonameNotme-we3oq
@NonameNotme-we3oq - 14.05.2024 13:00

Note : render is depreciated , you can use instead :--
import { createRoot } from 'react-dom/client';
const container = document.getElementById('react-target');
const root = createRoot(container); // createRoot(container!) if you use TypeScript
root.render(<Popup/>);

Ответить
@sergsergey4251
@sergsergey4251 - 16.07.2024 22:00

Thank you for your tutorial!

Ответить