Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/e111077/lit-sass-js-starter

Get started with lit sass and js real quick
https://github.com/e111077/lit-sass-js-starter

javascript lit lit-element lit-elements lit-html rollup sass

Last synced: 7 days ago
JSON representation

Get started with lit sass and js real quick

Awesome Lists containing this project

README

        

# 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](https://glitch.com/edit/#!/lit-sass-js-starter).

## Goals

* Get started with Lit + SASS + JS
* For TS see [`e111077/lit-sass-ts-starter`](https://github.com/e111077/lit-sass-ts-starter)
* 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.

```bash
npm install
```

Then start the dev server and rollup watchers

```bash
npm run dev
```

A browser window should open and rollup will watch your files for changes.