What is NativeScript?
Some popular use cases:
- Building Web, iOS, Android and Vision Pro apps with a shared codebase (aka, cross platform apps)
- AndroidTV and Watch development
- watchOS development
- Exploring platform API documentation by trying APIs directly from a web browser without requiring a platform development machine setup.
- Natural platform feel and performance characteristics
- Strengthening job market potential by allowing developers to port their skills between different environments
This is all facilitated by the supported platform runtimes:
To aid in cross-platform development, common use cases are implemented in @nativescript/core utilizing the underlying native APIs provided by each runtime.
- Angular—published under
- Vue—published under
- React—published under
- Svelte—published under
Given how NativeScript is built, new flavors can be implemented on top of it anytime. A few great examples from the community:
How to use the docs?
The left sidebar (a dropdown on top on mobile devices) contains the primary navigation.
On most pages, the right sidebar (hidden on mobile) contains an outline of the current page, allowing quickly jumping to a section of interest. Apart from the outline, this section shows a list of GitHub users who have contributed to the current page, an "Edit this page" button (where applicable) that can be used to contribute additional details or just fixing a typo on the current page.
Ready to dive in?
You will want to setup your development machine using the Environment Setup guide which involves preparing your machine for iOS and Android development as well as installing the NativeScript CLI via
npm install -g nativescript
- Environment Setup