I think a little more specificity is required in the 'In Depth' docs for the component value defined in a vite.config.js.
For Vue3 users, the component value is vue3, not vue as suggested by the docs. As follows:
svgicon({
include: ['**/assets/svg/**/*.svg'],
svgFilePath: path.join(__dirname, 'src/assets/svg'),
component: 'vue3', // Not just 'vue', as suggested by the docs
})
I think a little more specificity is required in the 'In Depth' docs for the
componentvalue defined in avite.config.js.For Vue3 users, the
componentvalue isvue3, notvueas suggested by the docs. As follows: