Ecosyste.ms: Awesome

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

https://github.com/tralves/ns-vue-codeshare-demo

Demo project of ns-vue with code sharing between web and native builds.
https://github.com/tralves/ns-vue-codeshare-demo

Last synced: 3 months ago
JSON representation

Demo project of ns-vue with code sharing between web and native builds.

Lists

README

        

# NativeScript-Vue / Web code-sharing app

> A native application built with NativeScript-Vue, sharing code with a web app.

## Usage

### Getting started

```bash
git clone tralves/ns-vue-codeshare-demo

cd

npm i
```

### Native apps

```bash
# Build for production
tns build --bundle

# Build, watch for changes and debug the application
tns debug --bundle

# Build, watch for changes and run the application
tns run --bundle
```

### Web apps

```bash
# Start dev server with hot module reload
yarn web:start

# Build for production
yarn web:build

# Build for development
yarn web:dev
```

The app is built in `platforms/web`.

## How to develop code-sharing apps?

> coming soon...