Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript/sample-nx-workspace
Nx workspace sample for multiple NativeScript apps.
https://github.com/nativescript/sample-nx-workspace
nativescript nx yarn yarn-workspaces
Last synced: about 1 month ago
JSON representation
Nx workspace sample for multiple NativeScript apps.
- Host: GitHub
- URL: https://github.com/nativescript/sample-nx-workspace
- Owner: NativeScript
- Created: 2021-09-11T00:00:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-11T00:53:37.000Z (over 3 years ago)
- Last Synced: 2024-12-13T13:23:37.042Z (about 1 month ago)
- Topics: nativescript, nx, yarn, yarn-workspaces
- Language: TypeScript
- Homepage:
- Size: 333 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nx workspace sample for multiple NativeScript apps
This sample demonstrates using NativeScript 8.1+ cli capabilities to manage multiple NativeScript apps within an [Nx workspace](https://nx.dev).
### Prerequisites
* node 15+/npm 7+ is recommended
* [environment setup for NativeScript](https://docs.nativescript.org/environment-setup.html)
* ensure latest NativeScript cli (8.1+) is installed:```
npm i -g nativescript
```### Run the apps:
```
// install dependencies for workspace
yarn// run app a
nx run mobile-app-a:android
nx run mobile-app-a:ios// run app b
nx run mobile-app-b:android
nx run mobile-app-b:ios
```### Clean workspace anytime
```
yarn clean
```