svelteKit-websocket-starter Svelte Themes

Sveltekit Websocket Starter

A starting point for a svelteKit app with websockets (also has tailwind)

Getting started

This is a starting point for a svelteKit app with websocket (socket.io) support. It also uses tailwindcss.

Install dependencies

npm install 

Developing

Once you've installed dependencies with npm install, start a development server:

npm run dev

Building

To create a production version of your app:

npm run build

This will:

  1. Bundle the backend.ts with rollup --config
  2. Runs vite build

You can preview the production build with node ./dist/server.js.

Top categories

Loading Svelte Themes