Teacher, 10-2 Community front-end page_2 In this course, you used "/static/css/bootstrap.css" to load the style. Why did I get an error when I loaded it according to this path? The 'bootstrap.css' and 'js' files cannot be referenced correctly. Is the path defined in which configuration file, but I don't see you using constants such as "__PUBLIC__" or "__STATIC__". Baidu has tried many methods but has not been able to solve it. Please answer. Thank you very much! !
The path is definitely wrong. Your constant definition path is spliced into a relative path that is not the real path. Open F12 in Google Chrome to see the path of the console static file