Skip to content

Repository files navigation

NativeScript + Octane

Packages for running Octane apps on NativeScript.

Package What it is
@nativescript-community/octane The NativeScript renderer for Octane: a universal host driver that applies Octane's host commands to @nativescript/core views, the renderer ABI the compiler targets, the element registry, and the JSX typings.
@nativescript-community/vite-octane The Octane flavor for @nativescript/vite: the config helper and the Vite HMR strategy that hot-updates Octane components on device. Built entirely on the public flavor API — the shape any community package can take.

The reference app is ns-octane: a ChatGPT-style chat client built on these packages, with Vite HMR, plugin views registered from TypeScript, and a native element defined in TypeScript.

Develop

npm install
npx nx run-many -t build test     # every package
npx nx test @nativescript-community/octane

Packages build in place to packages/<name>/dist and publish from there.

About

Octane on NativeScript. @nativescript-community/vite-octane and related packages.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages