@ufjs/runtime

JS runtime for flutter_fjs: element API, batched UI op protocol, Vue 3 custom renderer
1,191 15
Install
npm install @ufjs/runtime
Latest Version:0.1.7
Vue:3
License:MIT
Last Updated:Oct 16, 2026
Links: GitHub  ·  npm
Maintainer: zz_snice

@ufjs/runtime

JS runtime for ufjs. Provides the element API, the batched binary UI-op protocol spoken with the flutter_fjs native host, and a Vue 3 custom renderer that maps HTML-like tags onto Flutter widgets.

Published as TypeScript source — it is compiled by @ufjs/cli, which is how you should consume it:

npm i -D @ufjs/cli @ufjs/runtime

Inside an app you import it through the fjs aliases the toolchain sets up:

import { createFjsApp } from 'fjs/app';
import { toast, Worker, nowMs, fetch } from 'fjs';

Entry points

Export Contents
. element API, host bridge, toast, Worker, fetch, timing
./vue Vue 3 custom renderer
./router vue-router integration with native navigation
./app createFjsApp bootstrap
./web DOM fallback so the same app runs in a browser
./volar Volar plugin for tag typing in SFC templates

Editor setup

{
  "vueCompilerOptions": { "plugins": ["@ufjs/runtime/volar"] }
}

MIT

Related Packages

@ufjs/iconmind

IconMind icons for fjs — one tag, painted by Flutter on the app and inline SVG o...

315 15
@ufjs/webview

web-view for fjs — one tag, a WKWebView/WebView on the app and an iframe on the...

312 15
vue-full-screen-file-drop

Vue component for full screen file drop

16,061 19
bxs-ui-vue

BSX Components

3,870
@~crazy/watcher

对象观察者

1,049

Version History

Version Released Vue License
0.1.7 ^3.5.42 MIT
0.1.6 ^3.5.42 MIT
0.1.4 ^3.5.42 MIT
0.1.3 ^3.5.42 MIT
0.1.1 ^3.5.42 MIT