browser-module-frameworks
browser-module-frameworks
Convenient named imports of the framework adapters for browser-module-runtime. No eager framework runtime or compiler loading is introduced.
import {createRuntime} from 'browser-module-runtime';
import {solid, svelte, octane, vue} from 'browser-module-frameworks';
const runtime=createRuntime({
plugins:[solid(),svelte({version:'5.39.0'}),octane({version:'0.2.3'}),vue({version:'3.5.18'})]
});
Each adapter remains available through its own package. The aggregator is simply re-exports, not a new runtime or renderer. You can also import normalizeInlineSvelte for editor/source processing.
See the generic runtime's browser-module-runtime/html and browser-module-runtime/web-components exports for HTML and custom element registration.
Vue supports .vue SFCs (including <script setup>, templates, and scoped CSS) with the official lazy vue/compiler-sfc browser compiler. See browser-runtime-vue.
Solid 1 is now available separately as solid1() from browser-runtime-solid1 or this aggregator. solid() remains Solid 2. A single runtime cannot use both plugins; create independent runtimes and validate coexistence in your browser before deploying.
Related Packages
Vue 3 SFC compiler and reactive renderer adapter for browser-module-runtime.
Ark UI style wheel-picker components for React, Solid, Vue and Svelte, built on...
Type-safe WebSocket client for chanx AsyncAPI schemas, with topic multiplexing....
Version History
| Version | Released | License |
|---|---|---|
| 0.1.3 | ||
| 0.1.1 | ||
| 0.1.0 | ||
| 0.0.13 | ||
| 0.0.12 | ||
| 0.0.11 | ||
| 0.0.10 | ||
| 0.0.9 | ||
| 0.0.8 | ||
| 0.0.7 | ||
| 0.0.5 | ||
| 0.0.4 | ||
| 0.0.3 | ||
| 0.0.2 | ||
| 0.0.1 |
Pre-releases (2)
| Version | Released | License |
|---|---|---|
| 0.1.2-dev.0 | ||
| 0.0.0-stage |