Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #307, #295, #298, #294 and add option to change component name #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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