Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```