Vue · Senior · Question 17 of 75

How do you reduce the initial bundle of a large Vue SPA?

Explanation

Route-level code splitting is the biggest win. Vue's APIs are tree-shakable, so unused features like <Transition> are not bundled unless imported.

Further reading

Problem with a question

Vue · Senior · question 17

Test yourself

Take the Vue · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz