Skip to content

Latest commit

 

History

History
 
 

app-template-lit-element-typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

New Project

✨ Bootstrapped with Create Snowpack App (CSA).

Available Scripts

npm start

Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm run build

Builds the app for production to the dist/ folder. It correctly bundles React in production mode and optimizes the build for the best performance.

Directives

In case you need to add a directive like classMap you should add the extension to the import:

import { classMap } from "lit-html/directives/class-map.js";