Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

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

Awesome Lists containing this project

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