Skip to content

Vision Pro 🥽 Hello World tutorial with NativeScript using various flavors - Angular, React, Solid, Svelte, TypeScript and Vue.

Notifications You must be signed in to change notification settings

NativeScript/visionos-hello-world

Repository files navigation

Develop Vision Pro 🥽 apps with NativeScript - A new reality awaits you

ns-vision-hello-world.mp4

Setup

Prerequisites:

yarn setup

Choose your preference

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

What is This?

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.

  • Each app shares visionOS Resources including SwiftUI files from here.
  • Each app's nativescript.config.ts configures the shared resources via the appResourcesPath property.

All practices shared are for demonstration purposes only.