VitePress 1.0 已经发布——这是一款基于 Vite 和 Vue 构建的静态站点生成器,作为 VuePress 的现代化后继者,可将 Markdown 内容转换为应用主题的静态 HTML 页面。它非常适合用于技术文档(为 Vite、Rollup、Pinia 的文档以及 Vue.js 官方文档提供支持),同样也适用于完全可自定义的博客、作品集和营销网站。该工具性能强劲:先通过预渲染的 HTML 实现快速的首屏加载和出色的 SEO,随后切换到单页应用(SPA)模式,实现近乎即时的后续导航和交互体验。
Today we are happy to announce the (long overdue) 1.0 release of VitePress!
VitePress is a Static Site Generator (SSG) designed for building fast, content-centric websites. In a nutshell, VitePress takes your source content written in Markdown, applies a theme to it, and generates static HTML pages that can be easily deployed anywhere.
VitePress is built on top of Vite and Vue, and is the spiritual successor and modern replacement of VuePress.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要Vue 3.5, codenamed "Tengen Toppa Gurren Lagann," has been released as a minor update with no breaking changes. Key highlights include major reactivity system optimizations (up to 56% memory reduction and faster tracking for large reactive arrays), stabilization of Reactive Props Destructure, and SSR improvements such as lazy hydration, useId(), and data-allow-mismatch. The release also adds new features including useTemplateRef(), Deferred Teleport, onWatcherCleanup(), and various custom element enhancements.
AI 摘要Vue 3.4 'Slam Dunk' has been released, featuring a completely rewritten template parser that is twice as fast and a refactored reactivity system that makes effect triggering more accurate and efficient. The release also stabilizes the defineModel macro, introduces a same-name shorthand for v-bind, and improves hydration mismatch error messages. Additionally, several deprecated features have been removed, including the global JSX namespace and the experimental Reactivity Transform.
AI 摘要Vue 2 will reach End of Life on December 31, 2023, after which it will no longer receive new features, updates, or fixes, though it will remain available through existing distribution channels. The Vue team is shifting its full focus to Vue 3, which offers better performance, enhanced TypeScript support, a Proxy-based reactivity system, and new built-in components. Users still on Vue 2 can update to the final release (2.7.16), purchase extended support through HeroDevs' Never-Ending Support offering, or communicate their post-EOL security plans to stakeholders.
AI 摘要Volar, the official Vue.js VSCode extension, has extracted its framework-agnostic components into a new standalone project called Volar.js, an embedded language tooling framework that supports not only Vue but also Astro, Svelte, Angular, and regular single-language LSP servers. The original Volar extension and vue-tsc code have moved to the vuejs/language-tools repo, and a new Volar.js Core Team has been formed, with StackBlitz supporting full-time development. Future plans include Monaco support, better support for IDEs beyond VSCode, a Bun-based language server, a monoserver architecture, a Rules API for linting, and a Scripts API for CI usage.