Optimize solid loading speed

hi,I have a large number of entities, maybe tens of thousands of lines or points need to be drawn. I use vue3. I want to know how to optimize the loading speed. Now I have to jam for several seconds every time I open it.
Or can you tell me how to optimize massive entities in the Vue environment? I don’t know how to set some unnecessary variable storage in Vue, which leads to slow speed.