is the first way to download three files from bootstrap and put them in the static directory and then introduce three files into index.html?
<script type="text/javascript" src="static/css/jquery.min.js"></script>
<script type="text/javascript" src="static/css/bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="static/css/bootstrap.css">
the second way is to install
through npm. when I refresh the page in the first way, all three files in Network will show how long it takes to load and it takes a total of three to install 100ms
Why didn"t you see these three files loaded in the second way? Is the actual loading time the same in both ways? Will the second kind be loaded every time it is refreshed?
also found that the first way will conflict with other ui libraries, such as element the second way will not be why? I don"t think I"ve ever seen anyone else use the first way