Vue-cli optimization reduces project volume problems externals configuration items

configuration items are as follows

clipboard.png
clipboard.png
:
1iview

clipboard.png
2 echarts import echarts from "echarts"

clipboard.png


CDN

clipboard.png

Mar.04,2021

Brother, you import in the code. Iview, you should also use npm to install the iview package, right? Then CDN introduced iview

again.

DLLReferencePlugin of webpack learn about packing third-party libraries into a single package. I wonder if it can meet your needs

.

the problem with echarts suggests that you check the loading order of business logic scripts and dependent library scripts

personal humble opinion.

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-1eaa87e-1fdf.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-1eaa87e-1fdf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?