1👍
Automatic treeshaking with Vuetify can be accomplished by adding vite-plugin-vuetify
to vite.config.js
(which you’ve already done), and then removing the following imports from main.js
(in your case app.js
):
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
Source:stackexchange.com