Steps to replace string in view output
I need to add '.' in front of /static to make it work.
For example: '__STATIC__' => './static/admin/assets',
I don’t know why
This place just doesn’t fit. My addition doesn’t work either. I added it before __STATIC__ after the replacement. It’s normal
/is the root directory
./is the current directory
What you write is not the root directory, but the current directory
"/" is the absolute path (the project root directory)
"./" the relative path (the current directory of the file)
"../" the relative path (the parent directory of the file) )
I can only help you so much, just figure it out for yourself
This place just doesn’t fit. My addition doesn’t work either. I added it before __STATIC__ after the replacement. It’s normal
/is the root directory
./is the current directory
What you write is not the root directory, but the current directory
"/" is the absolute path (the project root directory)
"./" the relative path (the current directory of the file)
"../" the relative path (the parent directory of the file) )
I can only help you so much, just figure it out for yourself