Skip to content

nelsontkq/dotnet-svelte-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Svelte Template

A production-ready .NET 9.0 template with Svelte 5 frontend, featuring seamless integration, hot reloading, and TypeScript support out of the box.

Features

  • Hot Reloading - Instant feedback for both backend and frontend changes
  • Svelte 5 - Latest Svelte with runes and modern reactivity
  • TypeScript - Full type safety across the stack
  • .NET 9.0 - Latest .NET with minimal APIs and top-tier performance
  • SvelteKit - Server-side rendering and routing
  • Zero Configuration - Works immediately after installation
  • Vite Integration - Fast builds

Quick Start

Install the Template

dotnet new install Nelsontkq.Svelte

Create a New Project

dotnet new svelte -n MyApp
cd MyApp
dotnet run

That's it! Your full-stack application is now running.

Alternative Installation Methods

Using degit (for direct cloning)

degit https://github.com/nelsontkq/dotnet-svelte-template/DotnetSvelteApp my-app
cd my-app
dotnet run

Manual Installation

  1. Download or clone this repository
  2. Navigate to the DotnetSvelteApp folder
  3. Run dotnet run

Requirements

  • .NET 9.0 SDK
  • Node.js (automatically managed during build. Only required during build process)

VS Code Setup

For the best development experience, install the Svelte for VS Code extension for syntax highlighting and IntelliSense.


Found an issue? Report it here

About

a Svelte template using the latest .net core and hot reloading

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published