Jazor.Vue 0.10.0

dotnet add package Jazor.Vue --version 0.10.0
                    
NuGet\Install-Package Jazor.Vue -Version 0.10.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jazor.Vue" Version="0.10.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jazor.Vue" Version="0.10.0" />
                    
Directory.Packages.props
<PackageReference Include="Jazor.Vue" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Jazor.Vue --version 0.10.0
                    
#r "nuget: Jazor.Vue, 0.10.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Jazor.Vue@0.10.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Jazor.Vue&version=0.10.0
                    
Install as a Cake Addin
#tool nuget:?package=Jazor.Vue&version=0.10.0
                    
Install as a Cake Tool

Jazor.Vue

定位:Razor SDK 项目显式启用 Razor-to-Vue 的 NuGet 包。

Jazor.Vue 安装消费官方 Razor Source Generator 最终 Roslyn Compilation 的 generator-driver hook。Razor 组件的 BuildRenderTree 操作会降低为 Vue render-function 模块,并注册到供 Jazor.Emit 使用的中性 Jazor.Generated.ArtifactCatalog;本包的 build-transitive target 还会注册 RazorVue runtime provider。

安装

<ItemGroup>
  <PackageReference Include="Jazor" Version="0.9.0" />
  <PackageReference Include="Jazor.Vue" Version="0.9.0" PrivateAssets="all" />
</ItemGroup>

该包是 opt-in,必须与 Jazor 一起引用。只引用 Jazor 不会安装 Razor hook、扫描 Razor 组件或生成 Vue render catalog。Jazor.Vue 只携带合并后的 Jazor.RazorVue analyzer,避免重复装载共享 generator。

产物输出

JazorMode 结果
none 默认值,不输出产物
debug 模块、source map 与 manifest
release 生产浏览器 bundle 与 source map

JazorDir 默认是 $(MSBuildProjectDirectory)\wwwroot\jazor\。该集成不需要 EnableRazorHostOutputsRazorCodeDocumentRazorCSharpDocument 或二次解析生成 C#;release 使用 Netpack 进行浏览器打包。

相关文档

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • net11.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.10.0 0 8/11/2026
0.9.0 0 8/11/2026
0.8.3 0 8/11/2026
0.8.2 0 8/11/2026
0.7.0 42 8/10/2026
0.6.0 46 8/10/2026
0.5.0 37 8/9/2026
0.4.0 39 8/9/2026
0.3.4 41 8/9/2026
0.3.3 43 8/7/2026
0.3.2 67 8/6/2026
0.1.48 89 8/5/2026
0.1.47 78 8/5/2026
0.1.46 80 8/5/2026
0.1.45 81 8/5/2026
0.1.43 90 8/4/2026
0.1.42 87 8/4/2026
0.1.41 91 8/4/2026
0.1.40 108 8/3/2026
0.1.39 95 8/3/2026
Loading failed