svelte-dotnet-app

Svelte Dotnet App

Template repo for .NET6 backend + svelte frontend

ARCHIVED!

This template will not be maintained any more. It is succeeded by it's vite based sibling at https://github.com/lizzard77/svelte-dotnet-app-vite

svelte-dotnet app template

This is what I personally derived from a lot of sources as my starter for dotnet+svelte apps

Consists of the default svelte app template and a preconfigured dotnet project, along with a matching rollup config to run.

Usage

To use, manually clone/degit this repo (or click "Use Template"), or degit:

npx degit https://github.com/lizzard77/svelte-dotnet-app <new-folder-name>

Then, run npm install and npm run dev

How to re-create this template

npx degit sveltejs/template <DIR>
cd <DIR>
dotnet new web --no-https
mv src svelte-app
mv public wwwroot

Then follow the steps here to fix rollup.config.js and Startup.cs

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes