Repository navigation
Jazor 2.2.0
中文 | English
新增功能
- Jolt 随 2.2 正式发布。用
.jazor和 C# 编写 Vue 应用,直接使用 npm 包公开的 TypeScript 声明和 ESM 导出。支持类型化参数、回调与插槽、选定的泛型组件和<style scoped>。Vue 组件是默认导出,公开静态方法、字段和公开常量是具名导出。by @devhxj - VS Code 和 Visual Studio 2026 扩展提供语义高亮、类型化补全、诊断、定义导航、引用、改名、格式化和快捷修复。by @devhxj
体验优化
- README 和作者指南提供计数器示例、npm 组件及 ES 模块导出写法。安装或升级
Jazor.Jolt到2.2.0,VS Code 使用jolt-2.2.0.vsix,Visual Studio 2026 使用Jolt.VisualStudio.vsix。by @devhxj
迁移说明
- 纯 C# Vue 项目可直接引用
ECMAScript.Vue,并将使用的 Jazor 和 ECMAScript 包统一升级至2.2.0。Jazor SDK 已移除旧组件生成器的专用接线。迁入 Jolt 的应用使用.jazor编写组件,通过package.json声明 npm 依赖。by @devhxj
New Features
- Jolt ships in the 2.2 stable release. Author Vue applications in C# with
.jazorand consume public TypeScript declarations and ESM exports from npm packages. Jolt supports typed props, callbacks, slots, selected generic components, and<style scoped>. Modules default-export the Vue component and provide named exports for public static methods, fields, and public constants. by @devhxj - The VS Code and Visual Studio 2026 extensions provide semantic highlighting, typed completion, diagnostics, navigation, references, rename, formatting, and quick fixes. by @devhxj
Improvements
- The README and authoring guide walk through the counter sample, npm components, and ES module exports. Install or update
Jazor.Joltto2.2.0. Installjolt-2.2.0.vsixfor VS Code orJolt.VisualStudio.vsixfor Visual Studio 2026. by @devhxj
Migration
- C# Vue projects can reference
ECMAScript.Vuedirectly. Upgrade the Jazor and ECMAScript packages together to2.2.0. The Jazor SDK has removed its previous component generator integration. Applications moving to Jolt author components in.jazorand declare npm dependencies inpackage.json. by @devhxj