https://github.com/baseplate-admin/lit-webpack-starter
https://github.com/baseplate-admin/lit-webpack-starter
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/baseplate-admin/lit-webpack-starter
- Owner: baseplate-admin
- Created: 2025-06-17T04:40:47.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-26T08:39:31.000Z (11 months ago)
- Last Synced: 2025-06-26T09:19:09.045Z (11 months ago)
- Language: TypeScript
- Size: 59.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LitElement + TypeScript + Webpack Starter
A minimal starter project for building LitElement web components using TypeScript, Babel, and Webpack — with decorators support and proper config.
---
## Features
- LitElement with TypeScript and decorators
- Babel configured for legacy decorators + class properties (loose mode)
- Webpack 5 for bundling & dev server
- CSS support with style-loader and css-loader
- Simple development server with hot reload
- Custom Babel plugin to minify the html literals
---
## Getting Started
### Prerequisites
- Node.js (v24 or later recommended)
- npm
### Installation
```bash
npm install
```
### Dev server
```bash
npm run start
```