This project is a bare-bones project template to quickly get started with the following tech stack:
git clone https://github.com/gatapia/svelte_dotnet_template.git
svelte.config.js
and replace <project-directory>
with the IIS virtual directory/application namenpm install
in the web
directoryrelease.bat
in the root directory, this will create the release
directory which can be deployed in IISrelease
directorysrv
project on IIS Express (Ctrl + F5
in Visual Studio) and running npm run dev
in the dev directoryrelease.bat
updates the release
directory for IIS deployment. Note: IIS locks this directory, so for any further
releases you will need to stop IIS. This is easily done by killing the w3wp.exe
processrelease_web.bat
updates the svelte code in the release\wwwroot
directorynpm run dev
(in web
directory)