fix(docs): rename framework SEO suffix to avoid redeclaration#6607
fix(docs): rename framework SEO suffix to avoid redeclaration#6607ReCoN-96 wants to merge 2 commits into
Conversation
The SEO metadata change introduced a local `framework` constant that shadowed the ref from `useFrameworks()`, breaking the docs dev server.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe docs slug page SEO metadata logic is updated so that a Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing as it has already been solved in ed4712c. |
🔗 Linked issue
Fixes a build error introduced in
docs: improve SEO metadata.❓ Type of change
📚 Description
The recent SEO metadata update added a local
const frameworkindocs/app/pages/docs/[...slug].vueto append a " for Vue" suffix to page titles. That name was already taken by theframeworkref fromuseFrameworks(), causing a Vite parse error: