Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript-community/vue
Alternative implementation of Vue for NativeScript
https://github.com/nativescript-community/vue
dominative nativescript vue
Last synced: 3 months ago
JSON representation
Alternative implementation of Vue for NativeScript
- Host: GitHub
- URL: https://github.com/nativescript-community/vue
- Owner: nativescript-community
- License: mit
- Created: 2022-09-24T22:14:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T09:38:36.000Z (12 months ago)
- Last Synced: 2024-09-27T09:20:20.233Z (3 months ago)
- Topics: dominative, nativescript, vue
- Language: JavaScript
- Homepage:
- Size: 184 KB
- Stars: 9
- Watchers: 16
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NativeScript Vue (Community ver.)
### **Quirks and hacks for Vue 3 to work with [DOMiNATIVE](https://github.com/SudoMaker/DOMiNATIVE) on [NativeScript](https://nativescript.org/)**
[Playground](https://stackblitz.com/edit/nativescript-dominative-vue-3?file=app/App.vue)
---
## Why?
This is an alternative version of Vue3 implementation for NativeScript. It might not be as feature rich as the official [NativeScript-Vue](https://nativescript-vue.org/), but if you'd like to catch up with upstream Vue development, this is still a good choice.
Be aware we got this Vue implementation working within an hour, instead of years.
## Installation
Via npm:
```shell
npm install @nativescript-community/vue @nativescript/core dominative undom-ng vue
```**Note:** `@nativescript/core`, `dominative`, `undom-ng`, `vue` are peer dependencies, you have to install them manually. As the benefit for using peer dependencies, you'll be able to upgrade these dependencies directly from upstream, no need to wait for an update with `@nativescript-community/vue`.
---
## Usage
```js
import { Application } from '@nativescript/core'
import { createApp } from '@nativescript-community/vue'
import App from 'App.vue'const app = createApp(App)
// Start the app
app.$run()```
---
## License
MIT