@meiucaelo/app-lit-elementt
v1.10.2
Published
A preconfigured template for Snowpack with LitElement
Downloads
1
Keywords
Readme
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";