Soukoku.AspNetCore.ViteIntegration 1.0.0-alpha15

This is a prerelease version of Soukoku.AspNetCore.ViteIntegration.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Soukoku.AspNetCore.ViteIntegration --version 1.0.0-alpha15
                    
NuGet\Install-Package Soukoku.AspNetCore.ViteIntegration -Version 1.0.0-alpha15
                    
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="Soukoku.AspNetCore.ViteIntegration" Version="1.0.0-alpha15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soukoku.AspNetCore.ViteIntegration" Version="1.0.0-alpha15" />
                    
Directory.Packages.props
<PackageReference Include="Soukoku.AspNetCore.ViteIntegration" />
                    
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 Soukoku.AspNetCore.ViteIntegration --version 1.0.0-alpha15
                    
#r "nuget: Soukoku.AspNetCore.ViteIntegration, 1.0.0-alpha15"
                    
#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 Soukoku.AspNetCore.ViteIntegration@1.0.0-alpha15
                    
#: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=Soukoku.AspNetCore.ViteIntegration&version=1.0.0-alpha15&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Soukoku.AspNetCore.ViteIntegration&version=1.0.0-alpha15&prerelease
                    
Install as a Cake Tool

Soukoku.AspNetCore.ViteIntegration

Lib for integrating with a Vite app in an aspnet core app. Dotnet app provides the backend while Vite app provides the frontend.

Usage

In the typical Program.cs file, register it with

var builder = WebApplication.CreateBuilder(args);

// depends on the actual dev server url
builder.Services.AddViteManifest("https://localhost:3000");

Run the typical npm run dev in your vite-app folder, then debug in aspnet as usual.

Example

A more complete example is in the repo's aspnet-vite-spa project.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net8.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
1.0.0-alpha18 139 6/2/2025
1.0.0-alpha17 92 9/15/2024
1.0.0-alpha16 78 9/10/2024
1.0.0-alpha15 116 9/8/2024
1.0.0-alpha14 108 8/8/2024
1.0.0-alpha13 94 4/13/2024
1.0.0-alpha12 100 1/7/2024
1.0.0-alpha11 90 11/15/2023
1.0.0-alpha10 77 11/3/2023