一、代码层优化:精细化资源管理 1.1 组件按需引入 传统UI库全量引入会导致打包体积膨胀30%-50%。推荐采用动态导入方案: // 方案1:babel-plugin-import(Webpack)import { Button, Table } from 'antd-vue';// ……