$ the-wire · showcase
Vue language tools adopt Vue 3.6 API; VitePress fixes CSP and icon builds
By RepoJournal · Filed · About Vue.js
Vue language-tools upgrades to Vue 3.6.0-rc.6 without codegen changes, while VitePress ships hashed icon assets and CSP-safe config serialization.
Vue language-tools upgraded to Vue 3.6.0-rc.6 [1], aligning with the finalized defineComponent type API, so no codegen changes are needed, only fixtures and snapshots. A separate fix [2] eliminates TS7053 errors in strict mode by using a type-level JSDoc index for bare v-slot, instead of a silences @ts-ignore. VitePress now emits icon styles as hashed assets [3], enabling offline dev and arbitrary iconify collections. It also serializes config functions as code, not strings revived via new Function [4], which fixes strict CSP issues and reduces data size. Finally, VitePress generates THIRD-PARTY-NOTICES.md for bundled dependencies [5], ensuring license compliance.
Action items
- → Update vue-language-tools to the latest commit to pick up the bare v-slot type fix vuejs/language-tools [immediate]
- → Test VitePress sites with strict CSP to verify config functions serialize correctly vuejs/vitepress [plan]
- → Review icon asset caching behavior after the hashed CSS change vuejs/vitepress [monitor]
References
- [1] chore(deps): upgrade Vue to 3.6.0-rc.6 ↗ vuejs/language-tools
- [2] fix(language-core): use 'default' slot name for bare v-slot ↗ vuejs/language-tools
- [3] feat: hashed icon styles, offline dev icons, arbitrary iconify collections ↗ vuejs/vitepress
- [4] fix: serialize config functions as code, not strings revived via new Function (close #3685) ↗ vuejs/vitepress
- [5] chore: generate third-party license notices for bundled deps ↗ vuejs/vitepress