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?
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?
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.
Previous: How to choose between ConcurrentHashMap and EHCache for stand-alone cache?
Next: How does js read the contents of a csv file and display it on a web page?