dotnet-svelte-template Svelte Themes

Dotnet Svelte Template

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

.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

Top categories

Loading Svelte Themes