Awesome
Lit Sass Javascript Starter
This is a project that has a very simple setup for SASS + JS + Lit that uses rollup.
See an online demo here on Glitch.
Goals
- Get started with Lit + SASS + JS
- For TS see
e111077/lit-sass-ts-starter
- For TS see
- Exemplify how to setup rollup to support this config
Non-goals
- This does not include a production build as that may vary from project to project
- This does not support Lit 1
- It can, but the imports will have to be changed
- This does not recommend an Lit app structure - only exemplifies the build setup
Get Started
Clone the repo. Then install.
npm install
Then start the dev server and rollup watchers
npm run dev
A browser window should open and rollup will watch your files for changes.