+
Skip to content

Conversation

huang-julien
Copy link
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

this PR moves the slots of <NButton> to object syntax to avoid having Non-function value encountered for default slot. Prefer function slots for better performance. warning from Vue when using it with to props which renders a <NuxtLink>

@antfu antfu merged commit 09002d2 into main Apr 22, 2025
2 of 3 checks passed
@antfu antfu deleted the fix/NButton_warning branch April 22, 2025 04:51
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.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载