lunx.docs
DocsGuidesMeta-frameworks

Meta-frameworks on Lunx's Engine

lunx dev and lunx build build SvelteKit, Nuxt, Remix, Astro and eight more with lunx's own plugin host on Rolldown and Oxc. No Vite, Rollup or vite-node code runs.

New in 1.1.0
Your framework's plugins, unchanged

Meta-frameworks ship as Vite plugins. Lunx's plugin host implements that plugin API, so the framework's own plugins run as they are.

One engine

Rolldown bundles and Oxc compiles, in dev and build. Each framework's component compiler (Svelte, Vue, Angular) still compiles its components.

Rollup and vite-node APIs

Nitro (Nuxt) imports Rollup; React Router and Nuxt use vite-node. Lunx serves both APIs from the same engine.

Support matrix

FieldTypeDefaultDescription
SvelteKit, React Router, Remix, TanStack StartBuilt by lunx—dev + build on lunx's plugin host
Qwik City, Astro, Nuxt, SolidStartBuilt by lunx—dev + build on lunx's plugin host
VitePress, Waku, Marko Run, AnalogBuilt by lunx—dev + build on lunx's plugin host
Next.js, Docusaurus, Gatsby, RedwoodJS, StencilFramework CLI—lunx runs the framework's own CLI and bundler and says so in the output

Usage

Nothing to configure: run lunx in the project.

bash
npx lunx dev     # [lunx] SvelteKit project → built by lunx
npx lunx build

Keep your framework config (svelte.config.js, nuxt.config.ts, vite.config.ts): lunx reads it as the framework expects.

Options

FieldTypeDefaultDescription
LUNX_PLUGIN_HOST=0env—Run the framework's own CLI instead of lunx's plugin host.
delegate: falselunx.config—Ignore the meta-framework and build the project as a plain app.
Framework CLI not installed?
If the framework's package is missing from node_modules, lunx warns and uses its built-in support for that framework instead of exiting. Install dependencies to get the full framework.

The repository checks every framework above in dev and build (npm run test:meta, 28/28 in 1.2.0).