Example Nx Workspace using @nativescript/nx To try: npm run setup Run the mobile apps: npx nx run nativescript-mobile:android // or... npx nx run nativescript-mobile:ios Illustrates: Using platform specific code within libs Answers this question: NativeScript/nx#64