RequireJS ctrl+f5 refresh has a high probability of 404 problems, how to solve it?

1. I did not configure baseUrl with requireJS, (I also tried to configure baseUrl). As long as I refreshed deeply, there will be a path problem. I read the error of the reported baseUrl and did not go to require.config configuration. Here is the configuration file, and the path.

clipboard.png


clipboard.png


clipboard.png


clipboard.png

clipboard.png

the question is that it is found according to the path of data-main,. I wrote the path in require.config. Why don"t I take this path sometimes when I refresh it deeply?

Mar.19,2021

you should put config.js above and introduce requirejs first. Since the code is executed sequentially, try


put the following

clipboard.png

requireconfig
clipboard.png

// data-main...

//data-mainbuyordershow


JS
clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eab8d6-2066.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eab8d6-2066.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?