Some problems about the construction of front-end project

jquery and bootstrap have always been introduced first. Then introduce other parts separately, whether js or css. In this case, the size of a single file is small, but more http requests are needed

however, when a single-page application is built, all the modules such as jquery and so on are packaged into an app.js directly with webpack. In this case, a single file is large, but only a few http requests are required

so should it be loaded separately or packaged to build a multi-page and multi-component project?

Mar.14,2021

moderate merging, larger packages referenced separately, not only all packages are packaged and loaded separately.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b324c9-2b57d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b324c9-2b57d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?