vue-lynx

Vue 3 framework for building Lynx apps
8,613 574
Install
npm install vue-lynx@1.0.0
Latest Version:1.0.0
License:Apache-2.0
Last Updated:Sep 29, 2026
Links: GitHub  ·  npm
Maintainer: huxpro

vue-lynx

Vue 3 custom renderer for building Lynx apps.

[!WARNING] Pre-Alpha — Expect bugs and enjoy!

Pre-Alpha Website License

Documentation

Visit vue.lynxjs.org for full documentation, including:

IDE Setup

Install the Vue Language Features (Volar) extension for VS Code, or the equivalent for your editor (Zed has built-in Vue support via its Vue extension).

Add the following to your tsconfig.json (or jsconfig.json for JS projects):

{
  "compilerOptions": {
    "types": ["vue-lynx/types"]
  },
  "vueCompilerOptions": {
    "plugins": ["vue-lynx/types/volar-plugin"]
  }
}

This enables:

  • Correct prop types and completions for all Lynx elements (<view>, <text>, <image>, etc.)
  • IDE errors when using unsupported event modifiers (.capture, .passive)
  • Type-checked global-bind*, global-catch*, and main-thread-* props

Projects created with create-vue-lynx have this pre-configured.

Examples

See the examples/ directory for complete working examples:

Contributing

git clone https://github.com/Huxpro/vue-lynx.git
cd vue-lynx
pnpm install
pnpm build

Scripts

Command Description
pnpm build Build all packages (internal, runtime, main-thread, plugin)
pnpm dev Watch mode for runtime, main-thread, and plugin
pnpm test Run tests (testing-library)
pnpm test:upstream Run upstream Vue compatibility tests
pnpm test:dev-smoke Run dev smoke tests
pnpm lint Lint with Biome

Run examples locally

cd examples/basic
pnpm install
pnpm dev

License

Apache-2.0

Related Packages

@vyui/create

Scaffold a Vue-Lynx + Vy UI app with all wiring done (Tailwind preset, worklets,...

144 38
@vyui/cli

shadcn-style CLI for adding @vyui/kit styled components to a project

505 38
@vyui/core

Lynx-native UI primitives for Vue

3,456 38
@astrojs/vue

Use Vue components within Astro

4,883,748 63,526
@ceereals/vue-pdf

Vue PDF - Create PDF documents using Vue components

20,671 128

Version History

Version Released License
1.0.0 MIT
0.5.1 Apache-2.0
0.5.0 Apache-2.0
0.4.2 Apache-2.0
0.4.1 Apache-2.0
Pre-releases (2)
Version Released License
0.1.0-pre-alpha.2 Apache-2.0
0.1.0-pre-alpha.0 Apache-2.0