@luna_ui/sol
v0.22.1
Published
Sol — SSR-first web framework for MoonBit (CLI wrapper)
Downloads
124
Readme
@luna_ui/sol
CLI wrapper for Sol, an SSR-first web framework for MoonBit.
This package ships the sol command. The MoonBit-side framework
lives in the same repository under sol/.
Install
The primary install path is moon install; it drops a real binary
into $MOON_HOME/bin/:
moon install mizchi/sol/cmd/solThis npm package is a secondary distribution channel for users who already have node but not moon:
pnpm add -g @luna_ui/sol
# or
npm i -g @luna_ui/solEither one exposes the same sol command with the same surface.
Usage
sol --help
sol new my-app # scaffold a new project
sol dev # run the dev server
sol build # produce a release bundle
sol generate # regenerate routes / typesRun sol <command> --help for command-specific options.
What is Sol?
Sol is a server-side rendering framework for MoonBit, built on top of Luna primitives. It supports file-system routing, hydration islands, SQL/auth integrations, and a static export mode (via astra).
For framework development in MoonBit, depend on mizchi/sol. For
CLI-only usage, moon install mizchi/sol/cmd/sol is the smaller
install.
License
MIT
