Can't find it in the docs, so here's my gross hack to get LitElement built for simple prototyping:
> git clone https://github.com/Polymer/lit-element.git …
> cd lit-element
> npm install
> npm run build
> ./node_modules/rollup/bin/rollup -c
> ls lit-element.bundled.js
/cc @justinfagnani @DevDocDude
-
-
What about: import {LitElement, html} from 'https://cdn.pika.dev/lit-element/latest …'; Or import {LitElement, html} from 'https://unpkg.com/lit-element@2.2.1/lit-element.js?module …'; Cc
@FredKSchott1 reply 0 retweets 7 likes -
Replying to @0xcda7a @justinfagnani and
Unpkg failed for me (CORS issue)
2 replies 0 retweets 1 like -
Replying to @slightlylate @0xcda7a and
Bad timing (boooo). I purged some bad values from the cache yesterday. Should be ok now
1 reply 0 retweets 3 likes
Thank you!
10:35 AM - 8 Nov 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.