mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00

It was unnecessary to make multiple calls requestLayout inside initNativeView (properties set)
NativeScript empowers you to access native APIs from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile development and can be utilized in a number of diverse use cases.
Setup and Installation
Contribute
$ git clone https://github.com/NativeScript/NativeScript.git
$ cd NativeScript
# setup workspace for development
$ npm run setup
# list all available commands to run
$ npm start
We love you and PR's 🤗 Please follow our contributing guide and see our code of governance to become as involved as you want to be.
@nativescript/*
- @nativescript/core
- Core iOS/Android for NativeScript
- @nativescript/types
- Types for both iOS/Android below wrapped up as a convenience. Most commonly used.
- @nativescript/types-ios
- Types for iOS
- @nativescript/types-android
- Types for Android
- @nativescript/ui-mobile-base
- UI mobile base native classes used by core
- @nativescript/webpack
- Webpack build utilities and configs used by NativeScript apps
Quick Links
- NativeScript home page
- NativeScript playground
- NativeScript and Angular
- NativeScript on Twitter
- NativeScript on Stack Overflow
- NativeScript documentation
Other framework source repositories
Outside of the source centralized in this repo, the NativeScript framework consists of a number of components, all of which are open source available on GitHub. Here are the major ones:
- iOS runtime
- Android runtime
- CLI
- Docs
- This repo contains the NativeScript framework documentation, which is available at http://docs.nativescript.org/. The docs are written in Markdown.
License
Made with ❤️
Description
⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
androidangularcapacitorcross-platformflutteriosjavajavascriptkotlinnativescriptobjective-creactsolidjssvelteswiftswiftuitypescriptvisionosvisionprovue
Readme
MIT
237 MiB
Languages
TypeScript
84.6%
Java
10.4%
Objective-C
2.4%
JavaScript
1.4%
CSS
0.7%
Other
0.5%