Code Monkey home page Code Monkey logo

quickz / svelte-dotnet-template Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 278 KB

A simple project template for working with Svelte and ASP.NET. The template consists of 2 projects - a Svelte project (Client) that utilizes SvelteKit for the routing and an ASP.NET API (Server).

License: MIT License

HTML 2.12% Svelte 33.43% TypeScript 36.99% CSS 15.89% JavaScript 2.88% C# 8.69%
svelte sveltejs sveltekit aspnetcore dotnet-core dotnet-template svelte-template svelte-dotnet-template csharp typescript

svelte-dotnet-template's Introduction

svelte-dotnet-template

A simple project template for working with Svelte and ASP.NET. The template consists of 2 projects - a Svelte project (Client) that utilizes SvelteKit for the routing and an ASP.NET API (Server).

The project is using Svelte 4 and .NET 8.

Client

Prerequisites

This project requires NodeJS (version 18 or later) and NPM. To make sure you have them available on your machine, try running the following command:

$ npm -v && node -v
9.5.0
v18.14.1

Installation

npm install

Serving the app

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Recommendations

The template was created with the intention of using VS Code for the Client and Visual Studio for the Server. You are free to use whatever tools you prefer though.

svelte-dotnet-template's People

Contributors

quickz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.