진행 중이던 프로젝트의 런칭을 앞두고,, lighthouse 를 이용해서 성능 테스트를 진행해보았는데, 이를 개선한 과정을 나중에도 활용하기위해 기록해보려고 한다.
// 기존 컴포넌트 import 방식
import WAddChartModal from './modal/AddChartModal.vue';
// 비동기 컴포넌트 import 방식
const WAddChartModal = defineAsyncComponent(() => import('./modal/AddChartModal.vue'));
import * as lodash from 'lodash';
import * as elementPlus from 'element-plus';
import highcharts from 'highcharts';
import { cloneDeep } from 'lodash';
import { ElRow } from 'element-plus';