The web user-interface for the BTClock
Find a file
2023-11-19 15:36:25 +01:00
.github/workflows Use block height as version numbering 2023-11-19 15:36:25 +01:00
.vscode Initial commit 2023-11-17 01:05:35 +01:00
patches Add patch for inflexible sveltejs-kit 2023-11-17 19:10:46 +01:00
src Added individual LED control 2023-11-18 13:55:55 +01:00
static Remove hardcoded IP from swagger 2023-11-18 19:55:41 +01:00
.eslintignore Initial commit 2023-11-17 01:05:35 +01:00
.eslintrc.cjs Initial commit 2023-11-17 01:05:35 +01:00
.gitignore Making it work for ESP32 2023-11-17 11:09:06 +01:00
.npmrc Initial commit 2023-11-17 01:05:35 +01:00
.prettierignore Making it work for ESP32 2023-11-17 11:09:06 +01:00
.prettierrc Initial commit 2023-11-17 01:05:35 +01:00
Dockerfile Create GitHub workflow and Dockerfile 2023-11-19 15:08:26 +01:00
gzip_build.py Making it work for ESP32 2023-11-17 11:09:06 +01:00
package.json Add patch for inflexible sveltejs-kit 2023-11-17 19:10:46 +01:00
README.md Initial commit 2023-11-17 01:05:35 +01:00
svelte.config.js Making it work for ESP32 2023-11-17 11:09:06 +01:00
tsconfig.json Initial commit 2023-11-17 01:05:35 +01:00
vite.config.ts Making it work for ESP32 2023-11-17 11:09:06 +01:00
yarn.lock Initial commit 2023-11-17 01:05:35 +01:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

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.