This blog has to be written. It wastes me a morning. In order to quickly find errors in this area in the future, saving more time.
This is the case: I wrote a background management system that references Marix Admin, because this system contains many frameworks, such as jquery, bootstrap, and its own framework system marix, 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 a writing format problem.
For the above two problems, the solution is as follows:
First, check the website effect. If html is not displayed, it may be in html format. If css is not displayed, it may be because css files are not introduced. There may also be library file conflicts.
First: writing format problems
First, find the official website, download the demo, and write it according to the demo.
If the format is correct, the database file conflicts.
Second: conflicts with the original Library File
After html is written according to the format, it cannot be displayed after the imported file (css, javascript.
Comment out all the original library files to see if they can be displayed.
If the file is displayed, check the file one by one and find the file in conflict.