Aller au contenu

svelte-example

Svelte app example

svelte-example est un projet open source de Yaroslav Koval, écrit principalement en TypeScript. Dernière mise à jour : 30 nov. 2026. Le code source est sur GitHub.

  • TypeScript
  • app
  • application
  • frontend
  • javascript
Mis à jour le
Étoiles
1
git clone https://github.com/koval01/svelte-example.git

README

Le README est affiché dans sa langue d’origine.

svelte-app

Welcome to the svelte-app repository! This repository contains a Svelte web application for various purposes. Please note that this application is built using regular Svelte, not SvelteKit. Also note that this is an unofficial version of the site. And only its open source implementation.

Deployment

Cloudflare Pages

To deploy the application on Cloudflare Pages, follow these steps:

  1. Fork this repository.
  2. Log in to your Cloudflare account or sign up for a new account if you don't have one.
  3. Navigate to the Cloudflare Pages dashboard.
  4. Click on "Create a project" and select your GitHub repository.
  5. Configure the build settings as needed.
  6. Deploy the application.

Own Server (Using Nginx)

To deploy the application on your own server using Nginx, follow these steps:

  1. Clone this repository onto your server.
  2. Install Node.js if not already installed.
  3. Navigate to the project directory and install dependencies using npm i.
  4. Build the project using npm run build.
  5. Configure Nginx to serve the built files. Below is a sample Nginx configuration:

```nginx server { listen 80; server_name your_domain.com;

location / { root /var/www/notco.in/dist; index index.html; try_files $uri $uri/ /index.html; } } ```

  1. Restart Nginx.

Local Development

To set up the application for local development, follow these steps:

  1. Clone this repository onto your local machine.
  2. Install Node.js if not already installed.
  3. Navigate to the project directory and install dependencies using npm i.
  4. Start the development server using npm run dev.
  5. Open your browser and navigate to http://localhost:8080 to view the application.

Autres projets

Tous les dépôts : github.com/koval01