Skip to content

Docs change required #228

@modermo

Description

@modermo

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
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions