What are the advantages and disadvantages of css packaged directly in webpack and introduced in link form?

you can develop css, independently and introduce it in the form of link, and the other is webpack development, which is packaged directly to the corresponding page, so what are the advantages and disadvantages of these two ways?

Feb.28,2021

answer you directly with the contents of vue-cli 3 instruction document .

scripts and stylesheets are compressed and packaged together to avoid additional network requests. The loss of the
file will directly cause an error in the compilation time, rather than a 404 error on the client side. The resulting filename of
contains content hashes, so you don't have to worry about browsers caching them to older versions.
Menu