All Projects → NetCoreTemplates → Svelte Spa

NetCoreTemplates / Svelte Spa

.NET 5.0 Svelte v3 Rollup Bootstrap App

Labels

Projects that are alternatives of or similar to Svelte Spa

Sapper Template Firebase
Starter Rollup template for Sapper apps with Firebase functions based on https://github.com/nhristov/sapper-template-rollup.
Stars: ✭ 29 (-50.85%)
Mutual labels:  svelte
Svelte Router
Simple Svelte Router for Single Page Applications (SPA).
Stars: ✭ 44 (-25.42%)
Mutual labels:  svelte
Svelte Store Router
Store-based router for Svelte
Stars: ✭ 54 (-8.47%)
Mutual labels:  svelte
Svelte Inspect
console.log()-like interactive inspector for Svelte 3
Stars: ✭ 33 (-44.07%)
Mutual labels:  svelte
Jsx Lite
Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and Liquid.
Stars: ✭ 1,015 (+1620.34%)
Mutual labels:  svelte
Svelte Custom Elements
Turn Svelte components into web components
Stars: ✭ 45 (-23.73%)
Mutual labels:  svelte
Svelte Flat
Flat UI components built with Svelte.
Stars: ✭ 13 (-77.97%)
Mutual labels:  svelte
Svelte Starter
A Svelte starter template for projects.
Stars: ✭ 57 (-3.39%)
Mutual labels:  svelte
Svelte 3 Rollup Typescript Vscode
Starter for svelte 3/rollup/typescript/vscode
Stars: ✭ 43 (-27.12%)
Mutual labels:  svelte
Svelte Typescript Parcel
Svelte + Typescript + Parcel
Stars: ✭ 48 (-18.64%)
Mutual labels:  svelte
Svelte Preprocess
A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
Stars: ✭ 970 (+1544.07%)
Mutual labels:  svelte
Cassetter
Cassetter is a MIDI controlled granular sampler
Stars: ✭ 37 (-37.29%)
Mutual labels:  svelte
Interference2020
Interference2020 Website
Stars: ✭ 46 (-22.03%)
Mutual labels:  svelte
Why Svelte
Why Svelte is our choice for a large web project in 2020
Stars: ✭ 953 (+1515.25%)
Mutual labels:  svelte
Svelte Simple Datatables
A Datatable component for Svelte
Stars: ✭ 56 (-5.08%)
Mutual labels:  svelte
Smelte
UI framework with material components built with Svelte and Tailwind CSS
Stars: ✭ 871 (+1376.27%)
Mutual labels:  svelte
Svelte Pick A Place
Javascript location picker built with Svelte
Stars: ✭ 44 (-25.42%)
Mutual labels:  svelte
Svelte Canvas
🎨 Reactive canvas rendering with Svelte.
Stars: ✭ 59 (+0%)
Mutual labels:  svelte
Svelte Input Mask
Input masking component for Svelte with simple API and rich customization
Stars: ✭ 56 (-5.08%)
Mutual labels:  svelte
Felt
customizable community tools that feel good 💚 work in progress
Stars: ✭ 48 (-18.64%)
Mutual labels:  svelte

svelte-spa

.NET 5.0 Svelte v3 Rollup Project Template integrated with ServiceStack Services and built-in Routing, User Registration and Sign Up forms.

Browse source code, view live demo svelte-spa.web-templates.io and install with dotnet-new:

$ dotnet tool install -g x

$ x new svelte-spa ProjectName

Development workflow

YouTube Demo

Run the dev npm script or Gulp task and leave it running in the background:

$ npm run dev

This initially generates a full development build of your Web App then stays running in the background to process files as they’re changed. This enables the normal dev workflow of running your ASP.NET Web App, saving changes locally which are then reloaded using ServiceStack’s built-in hot reloading. Alternatively hitting F5 will refresh the page and view the latest changes.

Each change updates the output dev resources so even if you stop the dev task your Web App remains in a working state that’s viewable when running the ASP.NET Web App.

Watched .NET Core builds

.NET Core projects can also benefit from Live Coding using dotnet watch which performs a “watched build” where it automatically stops, recompiles and restarts your .NET Core App when it detects source file changes. You can start a watched build from the command-line with:

$ dotnet watch run

Create a production build

Run the build npm script or gulp task to generate a static production build of your App saved to your .NET App's /wwwroot folder:

$ npm run build

This will let you run the production build of your App that's hosted by your .NET App.

Updating Server TypeScript DTOs

Run the dtos npm script or Gulp task to update your server dtos in /src/dtos.ts:

$ npm run dtos

Deployments

When your App is ready to deploy, run the publish npm (or Gulp) script to package your App for deployment:

$ npm run publish

Which will create a production build of your App which then runs dotnet publish -c Release to Publish a Release build of your App in the /bin/net5/publish folder which can then copied to remote server or an included in a Docker container to deploy your App.

Svelte template

This project was bootstrapped with sveltejs/template. To learn more about Svelte we recommend going through Svelte's interactive tutorial.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].