Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nathanwalker/lava-lamp

Credit to @Inncoder_, An Nx workspace with Angular, React, Solid, Svelte, TypeScript and Vue iOS apps all sharing the same SwiftUI files via NativeScript.
https://github.com/nathanwalker/lava-lamp

angular ios javascript nativescript nx reactjs solidjs svelte swiftui typescript vue

Last synced: about 1 month ago
JSON representation

Credit to @Inncoder_, An Nx workspace with Angular, React, Solid, Svelte, TypeScript and Vue iOS apps all sharing the same SwiftUI files via NativeScript.

Awesome Lists containing this project

README

        

**Lava Lamp** - *Light up your insight with wonder*

iOS apps flavored with Angular, React, Solid, Svelte, TypeScript and Vue

- [Setup to Play](#setup-to-play)
- [Taste the Rainbow](#taste-the-rainbow)
- [What is This?](#what-is-this)
- [Credits](#credits)

## Setup to Play

Prerequisites:
- [NativeScript Environment Setup](https://docs.nativescript.org/environment-setup.html)
- yarn installed: `npm install -g yarn` (tested with 1.22.19)
- node >=16 (recommend 18.x.x)

```
yarn setup
```

## Taste the Rainbow

```
yarn nx run nativescript-angular:ios
```

```
yarn nx run nativescript-react:ios
```

```
yarn nx run nativescript-solid:ios
```

```
yarn nx run nativescript-svelte:ios
```

```
yarn nx run nativescript-typescript:ios
```

```
yarn nx run nativescript-vue:ios
```

## What is This?

An Nx workspace with Angular, React, Solid, Svelte, TypeScript and Vue iOS apps all sharing the same SwiftUI files via NativeScript.

The workspace combines yarn workspaces with Nx to hoist dependencies where needed to share.

- Each app shares iOS Resources including SwiftUI files from [here](tools/App_Resources/iOS/src).
- Each app's `nativescript.config.ts` configures the shared resources via the `appResourcesPath` property

## Credits

Inspired by [@Inncoder_](https://twitter.com/Inncoder_)