The Wire · Showcase
VITEPRESS CLOSES THE GAPS, ESLINT-PLUGIN-VUE FIXES CLASS BINDING CHAOS
By RepoJournal · Filed · About Vue.js
VitePress shipped five theme fixes overnight that tighten up search layouts and social link rendering, while eslint-plugin-vue finally caught the template literal class binding bug that's been slipping through linters.
The VitePress team rolled out a focused set of theme refinements starting with a critical font-synthesis removal [1] that was causing rendering inconsistencies across browsers. They followed with aligned docsearch [2] and local search breakpoints [3], closing a gap where mobile layouts were diverging between search implementations. Added to that is support for internal social links [4] and a fix for missing external link icons in navbars [5], which means documentation sites can now properly surface internal navigation without visual breakage. Over in eslint-plugin-vue, the team fixed a high-impact bug in prefer-separate-static-class [6] that was missing static class text buried inside dynamic template literals [7]. This one matters because it means your linter was silently passing code that should trigger warnings on mixed static-dynamic classes.
Action items
- → Update VitePress if you're using custom search or social navigation to pick up the theme alignment fixes vuejs/vitepress [plan]
- → Update eslint-plugin-vue to catch the template literal class binding bugs your current setup is missing vuejs/eslint-plugin-vue [plan]
References
- [1] fix(theme): remove font-synthesis style (#5309) vuejs/vitepress
- [2] fix(theme): align docsearch breakpoints with the default theme vuejs/vitepress
- [3] fix(theme): align local search breakpoint (#5217) vuejs/vitepress
- [4] feat(theme): allow internal social links vuejs/vitepress
- [5] fix(theme): external link icon not showing in navbar links vuejs/vitepress
- [6] Fix prefer-separate-static-class for template literals ↗ vuejs/eslint-plugin-vue
- [7] Fix prefer-separate-static-class for template literals (#3097) vuejs/eslint-plugin-vue