/lit-play

Primary LanguageJavaScript

Lit App Template

A web application template using Typescript and Lit. Nothing fancy.

Project Setup

Set a variable with your project name.

PROJECT_NAME="your-project-name"

Run this script:

git clone https://github.com/dazraf/lit-app-template "${PROJECT_NAME}"
cd "${PROJECT_NAME}"
rm -rf .git && git init && git add . && git commit -m "project initialization"
npm i

Project Scripts

  • npm run build - build the application
  • npm start - start the app with a webserver. Rebuilds when there is a change in the source.