Webpack plugin for Vuetify 3 tree-shaking and automatic component imports. Current stable version is 3.1.3 (requires Node ^18.0.0 || >=20.0.0). Ships TypeScript types and supports Webpack 5. Replaces older vuetify-loader package. Key differentiators: auto-imports Vuetify components used in templates, handles style loading (none/external/sass), and supports progressive images (experimental). Peer dependencies include @vue/compiler-sfc, vue ^3.2.6, vuetify >=3, and webpack ^5.0.0. Release cadence is irregular.
npm install webpack-plugin-vuetifyVerified import paths — ran on the pinned version, not inferred.
Shows minimal setup: webpack config with VuetifyPlugin, Vuetify createVuetify, and template usage with auto-imported VCard.
Replace require('vuetify-loader') with require('webpack-plugin-vuetify') and use VuetifyPlugin instead of VuetifyLoaderPlugin.Upgrade Node.js to ^18 or >=20.
Import VuetifyPlugin from 'webpack-plugin-vuetify' instead.
Use require instead of import in webpack.config.js.
Explicitly set autoImport: false if you don't want auto-importing.
Ensure settings.scss contains @forward 'vuetify/settings' with (...).
Use alternative SSR style management (e.g., vue-style-loader, SSR-specific config).
npm install webpack-plugin-vuetify --save-dev and change imports to use 'webpack-plugin-vuetify'.
Use const { VuetifyPlugin } = require('webpack-plugin-vuetify'); or import { VuetifyPlugin } from 'webpack-plugin-vuetify';Update Node.js to v18 or v20+.
Add @forward 'vuetify/settings' with (...) to the top of your settings.scss.
Run npm install @vue/compiler-sfc --save-dev.