Vue apps can provide a rich, interactive user experience when dealing with real-time, dynamic data. But they can also be heavy, bloated, and perform poorly. In this article, we'll walk through some of the front-end optimization tips to keep our apps relatively lean and only ship the JS we need.
Table of contents
Choosing A FrameworkTree Shaking, Compression, And Minification With Build ToolsVue Composition APIImporting DependenciesCode Splitting With Dynamic ImportsLazy Loading Routes With Vue RouterAsync ComponentsSplitting API RequestsAborting API RequestsStale While RevalidateConclusionSort: