create-webr-vite-lit

0.2.0 • Public • Published

webr + lit + vite npm template

npm license

dark mode

light mode

A quick way to start a new WebR project with:

  • WebR
    • Comes with an r.js that has some batteries included with more on the way
  • Pyodide (via CDN; uninitialized; just there if you need it)
  • Lit: Three basic components available now, but more coming soon
    • action-button.js: a simple button that does what you tell it to when pressed
    • ojs-plot.js: a very generic Observable Plot component
    • status-message.js: the "WebR: Loading…/Loaded" thingy, leveled up a bit
  • Vite: fast build system
  • Light/Dark mode CSS based on Tachyons
  • An initial index.html that shows off the components and the entire CSS design system

To get started:

npx create-webr-vite-lit my-webr-project

Initialize it:

cd my-webr-project
mv _gitignore .gitignore # i'll eventually do this for you
npm install

Test!

npx vite --port=4000

Readme

Keywords

Package Sidebar

Install

npm i create-webr-vite-lit

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

742 kB

Total Files

21

Last publish

Collaborators

  • hrbrmstr