This blog has to be written and it wasted my whole morning. In order to quickly find this error in the future and save more time.
The situation is like this: I wrote a backend management system that references Marix Admin, because this system contains many, many frameworks, such as jquery, bootstrap, and its own framework system Marix, and a lot of js and css files. When you want to introduce an external framework, it will conflict with the original library file, and there is also the writing format problem.
The solutions to the above two major problems are as follows:
First, check the website effect. If the html is not displayed, it may be a problem with the html format. If the css format is not displayed, it may be a problem with the css file not being introduced. It may also be a library file conflict problem.
First: Writing format issues
First find the official website, download the demo, and write it according to the demo
If there is no problem with the format, it will be a library file conflict.
Second: Conflict with the original library file
After writing html according to the format, the library file (css, javascript) cannot be displayed.
Comment out the original library files to see if they can be displayed.
If it is displayed, then check one by one and find the conflicting file