jimmont
Deno + Lit
one of the other scripts in tools will pull down from one of the cdn's locally and I was pushing these externals (ie the lit/litelement etc libraries) into https://github.com/sourdough/wildtype so I could just clone the repo and work locally; I think it's the
external.importer.js
at https://github.com/sourdough/starter/blob/main/tools/external.importer.js I should work on this project a little more so it's easier to pick up; Lit is basically all that's needed for state management22 replies
Deno + Lit
it includes a few tools including for developing locally, this script shows the way
PORT=8000 && deno run --allow-read=./ --allow-net=0.0.0.0:$PORT https://raw.githubusercontent.com/sourdough/starter/main/tools/http.js --port=$PORT --index=index.html --www=./www/
22 replies
Deno + Lit
awhile back I started a project intending to solve this problem of using Lit and a starter project myself, it's at: https://github.com/sourdough/starter
22 replies
cargo compile size 160M
Unfortunately that doesn't work, including the possibility that the details are incomplete so I'm not doing what's necessary resulting in not being able to compile for the target platform; it's unfortunate the org hasn't prioritized this platform, specifically Raspberry Pi OS 64-bit Debian 11 Bullseye as it's a relatively broad audience and the install I did previously worked fine across all the RPi 3 and 4 devices. If there's a place to raise this separate issue happy to provide that input, tho I believe there is already something active on Github that relates.
4 replies