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: about 1 month ago
JSON representation
Demo project of ns-vue with code sharing between web and native builds.
- Host: GitHub
- URL: https://github.com/tralves/ns-vue-codeshare-demo
- Owner: tralves
- Created: 2017-12-18T04:38:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T15:01:29.000Z (about 6 years ago)
- Last Synced: 2024-07-26T11:42:28.620Z (5 months ago)
- Language: JavaScript
- Size: 3.38 MB
- Stars: 31
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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-democd
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...