First of all, if it bothers you, my apologies for using image links instead of pasting my code into the site directly. I know it's not the typical format but it made more sense to me.

I am trying to implement a ReactJS component onto my website. The component displays notifications. I am not particularly adept when it comes to web design, so don't feel bad about ripping me a new one if I did something stupid. I installed cogo-toast using npm and it seems to be installed correctly.

I then followed the instructions for use laid out to import and use their notifications system. I have successfully linked the script file that I'm trying to use to import cogo-toast.

2020欧洲杯时间表Inside that file (cogotoast.js) are the following two lines of code, which I pulled from the github site linked above.

I have included a screencap of the file directory for my project.

2020欧洲杯时间表When I run frontend.py to launch the site on my local machine, I get the following error message (don't worry about the 404 on the favicon, I'm not particularly concerned about that).

I understand the fundamental meaning of a 404 message, but I'm not sure what needs to be done to fix this error. If there's anyone who would be willing to help, it'd be much appreciated. Let me know if additional details are needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy2020欧洲杯时间表

Browse other questions tagged or ask your own question.