Develop Vision Pro 🥽 apps with NativeScript - A new reality awaits you
Prerequisites:
npm install -g yarn
(tested with 1.22.19)Packages
folder from the Apple tutorial be moved to tools/Packages
in this workspace. It contains the 3D and Reality Composer Pro assets needed for the visionOS apps to run.yarn setup
yarn nx run nativescript-angular:vision
yarn nx run nativescript-react:vision
yarn nx run nativescript-solid:vision
yarn nx run nativescript-svelte:vision
yarn nx run nativescript-typescript:vision
yarn nx run nativescript-vue:vision
An Nx workspace with Angular, React, Solid, Svelte, TypeScript and Vue visionOS apps all sharing the same SwiftUI files via NativeScript.
The workspace combines yarn workspaces with Nx to hoist dependencies where needed to share.
nativescript.config.ts
configures the shared resources via the appResourcesPath
property.All practices shared are for demonstration purposes only.