Vue.Net.WebComponents
0.1.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Vue.Net.WebComponents --version 0.1.2
NuGet\Install-Package Vue.Net.WebComponents -Version 0.1.2
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="Vue.Net.WebComponents" Version="0.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vue.Net.WebComponents --version 0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vue.Net.WebComponents, 0.1.2"
#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.
// Install Vue.Net.WebComponents as a Cake Addin #addin nuget:?package=Vue.Net.WebComponents&version=0.1.2 // Install Vue.Net.WebComponents as a Cake Tool #tool nuget:?package=Vue.Net.WebComponents&version=0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Vue.Net.WebComponents
Simple integration of Vue.js web components and .NET standard MVC
IVueComponent
interface is used for building C# objects that can be rendered into Vue web components.IVueComponent.RenderComponent
extension method will render the HTML for the Vue web component when a class implements theIVueComponent
interface.- Various parts of the
IVueComponent
interface have been isolated and have their own extension methods now, in cases where only partial rendering of the component is needed. - Configuration transform and
VueConfig
utility class are used to easily define where Vue script files live and what components are available in configuration files. - Web.Config section<vueConfig>
for .NET Framework 4.6.2+ - vuesettings.config for dotnet core projects. VueDotNet.RenderVueScripts
method can be used to easily define where Vue scripts should be rendered- See example projects for basic configuration and implementation examples.
Getting Started
- Clone this repository
- Make sure node.js is installed, and dotnet core 2.2
- Open command line to vue-dotnet-wc-example-ts
- Run
npm install
followed bynpm run build
and verify no errors in console. Read that project's readme.md for more options on the vue side. - Open the solution file in Visual Studio
- Restore, build and run the Vue.Net.Examples.Core. Read that project's readme.md for more options on the dotnet side.
- If you see the Vue.js logo and the default hello world, everything is working!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.AspNet.Mvc (>= 5.2.7)
- Microsoft.AspNetCore.Html.Abstractions (>= 2.2.0)
- Newtonsoft.Json (>= 11.0.2)
- System.Configuration.ConfigurationManager (>= 4.5.0)
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.1.14 | 1,805 | 9/10/2019 |
0.1.13 | 1,053 | 9/4/2019 |
0.1.12 | 2,267 | 6/7/2019 |
0.1.11 | 1,229 | 6/4/2019 |
0.1.10 | 1,090 | 6/3/2019 |
0.1.9 | 1,119 | 6/3/2019 |
0.1.8 | 1,115 | 6/3/2019 |
0.1.7 | 1,156 | 5/22/2019 |
0.1.6 | 1,351 | 5/21/2019 |
0.1.5 | 1,116 | 5/20/2019 |
0.1.3 | 1,097 | 5/17/2019 |
0.1.2 | 1,114 | 5/16/2019 |
0.1.1 | 1,110 | 5/15/2019 |
0.1.0 | 1,188 | 5/10/2019 |