aspnetcore-svelte-starter
aspnetcore-svelte-starter copied to clipboard
Asp.NETCore Svelte (TypeScript) SPA Starter
Asp.NETCore Svelte Starter
This repo contains an aspnetcore + Svelte.js starter template (VS2017). The template is based on the Vue SPA template
Features
- ASP.NET Core
- Web API
- Svelte 3.x
- Webpack 4.x
- Bootstrap 4.x
Prerequisites:
- nodejs > 6
- VS2017 or VS Code
- dotnet core - NET Core SDK 2.2 for Windows, Mac, or Linux
- If you need Core 3.0 then go here https://github.com/Kiho/aspcore-spa-cli/tree/master/samples/SvelteCliSample
- Core 3.0 HMR example with svite: https://github.com/Kiho/aspcore-spa-cli/tree/master/samples/SviteSample
Installation / Getting Started:
- Clone this repo
- At the repo's root directory run
dotnet restore - Restore Node dependencies by running
npm install npm run build:vendornpm run build- Run the application (
dotnet run)
or
- Run the application in VSCode or Visual Studio 2017 (Hit
F5) to launch the application in a browser
Information
- Building Single Page Applications on ASP.NET Core with JavaScriptServices here