Skip to content

Conversation

@volkanakkus
Copy link

@volkanakkus volkanakkus commented Sep 18, 2024

πŸ”— Linked issue

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • ✨ New feature (a non-breaking change that adds functionality)

πŸ“š Description

🐞 This PR includes the fixes #307, #295, #298, #294 (thanks to @AndriiGera) which you can access this PR: #309
✨ And also adds ability to change component name with componentName key in the module options,

svgSprite: {
  componentName: 'MySvgIcon',
}

I've published an npm package by forking this package and including this PR.
You can install it using npm install @volkanakkus/nuxt-svg-sprite, and add @volkanakkus/nuxt-svg-sprite to the modules section in your nuxt.config. You can use my package until this PR is merged.

If you only want the fixes (without component name feature) you can use @gvade/nuxt3-svg-sprite.
See more in his PR: #309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support "custom" srcDir

1 participant