@charmland/gem
v0.1.1
Published
Gem's Elm sources, default application, browser runtime, UI kit, stylesheet and fonts.
Readme
@charmland/gem
Gem's prebuilt default theme, browser and Node runtimes, Elm application sources, UI kit, Sass styles, and assets.
Install
npm install @charmland/gemUsage
@charmland/gem deliberately has no root export. A default JavaScript entry generated by @charmland/gem-vite is equivalent to:
import content from "virtual:gem/content";
import { boot } from "@charmland/gem/boot";
import "@charmland/gem/theme.css";
boot(content);Public entrypoints include @charmland/gem/boot, runtime, router, build, theme.js, theme.css, and css. Elm and Sass sources are available through source/core/*, source/app/*, source/ui/*, source/styles/*, and source/elm.json; bundled font files use fonts/*.
Default use does not need the Elm compiler. Elm is needed only to customize and recompile Gem's Elm sources, using the gem-elm CLI or compileElm from @charmland/gem/build. See the Gem documentation for custom themes and components.
