I have this problem, now the vue-cli+webpack project,

but I have a js file that may be modified, which is a variable, and then this variable will be used in axios.

clipboard.png
clipboard.png
index.html

clipboard.png
projectConfig

clipboard.png
this is the only error report

Dec.03,2021

src follows the right path? If the relative path is uncertain, use the absolute path


how do you write your projectConfig.js?

you can write this in your projectConfig.js:

const projectConfig = {
  ip:'http://192.168.0.204:9080',
}
export default projectConfig 

in this way, you can import this file into any component.

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-1e47d3f-44c7b.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-1e47d3f-44c7b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?