Skip to content

rasterzero-dev/create-svelte-tv-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-svelte-tv-app

Create a Svelte TV app with TypeScript, routing, ESLint, Prettier, and TV platform build configuration.

Usage

pnpm create svelte-tv-app

The CLI asks for a project name, copies the starter template, replaces app identifiers in the platform configs, and can install dependencies for you.

Generated App

The generated project includes:

  • a small two-route Svelte TV demo app
  • WebGL and Canvas renderer setup
  • SDF font generation through the Svelte TV Vite plugin
  • Chrome 49 legacy build support for the default web build
  • Tizen build configuration targeting Chromium 69
  • Capacitor Android project files
  • LG webOS app metadata

Scripts

Inside a generated project:

npm run dev
npm run build
npm run build:tizen
npm run build:lg
npm run build:android
npm run preview

build:lg expects the LG webOS CLI tools to provide ares-package. Android APK builds require a local Android SDK/JDK setup. On Windows, the easiest way to install a compatible JDK is through Chocolatey. After installing Chocolatey, run:

choco install temurin17

About

Easiest way to create a Svelte TV application ✨

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors