Skip to content

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

Notifications You must be signed in to change notification settings

tralves/ns-vue-codeshare-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0aa24e6 · Oct 1, 2018

History

7 Commits
Oct 1, 2018
Sep 17, 2018
Dec 18, 2017
Mar 31, 2018
Sep 17, 2018
Sep 17, 2018
Oct 1, 2018
Sep 17, 2018
Sep 17, 2018
Sep 17, 2018
Sep 17, 2018

Repository files navigation

NativeScript-Vue / Web code-sharing app

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

Usage

Getting started

git clone tralves/ns-vue-codeshare-demo <your-project-name>

cd <your-project-name>

npm i

Native apps

# Build for production
tns build <platform> --bundle

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

# Build, watch for changes and run the application
tns run <platform> --bundle

Web apps

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published