Problems in the use of Require.js

topic description

I encountered a problem when I was learning Require.js. I won"t talk much nonsense. Just put it on the code:

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

problem description

the platform version of the problem and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

I have been looking for the reason for the error for a long time, but I can"t find the reason for the error. Please give me some advice

.
Jun.18,2021

you can't read local files directly. You see, the request starts with file, and you can set up a local service. Or with Google, Google can be set to read local files, the specific Google will know.


there is an extra dot after the configuration work1 in your paths.
it should be work2:work/work2

wrong here, too.

clipboard.png

Menu