# nativescript-vue

> Vue 3 renderer for NativeScript

Latest version **3.1.3** (published 2026-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install nativescript-vue
pnpm add nativescript-vue
yarn add nativescript-vue
bun add nativescript-vue
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.1.3 |
| Published | 2026-10-26 |
| First published | 2017-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20 |
| Dependencies | 5 |
| Unpacked size | 241.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 6537 |
| Maintainers | rigor789 |
| Keywords | nativescript, vue, vue3, renderer, ios, android |

## Links

- npm: https://www.npmjs.com/package/nativescript-vue
- Repository: https://github.com/nativescript-vue/nativescript-vue
- Homepage: https://nativescript-vue.org
- Issues: https://github.com/nativescript-vue/nativescript-vue/issues
- npm.io page: https://npm.io/package/nativescript-vue

## Dependencies (5)

- [set-value](https://npm.io/package/set-value.md) ^4.1.0
- [vue-loader](https://npm.io/package/vue-loader.md) ^17.4.2
- [@vue/shared](https://npm.io/package/@vue/shared.md) ^3.5.42
- [@vue/compiler-sfc](https://npm.io/package/@vue/compiler-sfc.md) ^3.5.42
- [@vue/runtime-core](https://npm.io/package/@vue/runtime-core.md) ^3.5.42

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 3.1.3 (latest) — 2026-10-26
- 3.0.0-rc.3 (rc) — 2025-02-13
- 3.0.0-beta.11 (beta) — 2023-11-19
- 2.7.2 (ns6) — 2021-02-10
- 3.1.2 — 2026-09-15
- 3.1.1 — 2026-09-14
- 3.1.0 — 2026-09-14
- 3.0.3 — 2026-08-26
- 3.0.2 — 2025-10-17
- 3.0.1 — 2025-06-12
- 3.0.0 — 2025-03-12
- 3.0.0-rc.2 — 2024-04-19
- 3.0.0-rc.1 — 2024-01-01
- 3.0.0-beta.10 — 2023-10-09
- 3.0.0-beta.9 — 2023-09-10
- … 118 more at https://npm.io/package/nativescript-vue/versions

## README

<p align="center">
  <img src="https://github.com/user-attachments/assets/2bbcb9c7-57ad-4649-9891-d1b901ac268f">
</p>

<h1 align="center">NativeScript-Vue3</h1>

<p align="center">
    <a href="https://www.npmjs.com/package/nativescript-vue">
       <img src="https://img.shields.io/npm/v/nativescript-vue/latest.svg" alt="npm"/>
    </a>
    <a href="https://github.com/nativescript-vue/nativescript-vue/blob/main/LICENSE">
       <img src="https://img.shields.io/github/license/nativescript-vue/nativescript-vue.svg" alt="license"/>
    </a>
</p>

NativeScript-Vue now supports Vue 3 and is generally available! This version brings improved reactivity, a modern plugin system, and better TypeScript support.

## Quick Start

To get started, you can use the [StackBlitz Template](https://stackblitz.com/fork/github/nativescript-vue/nativescript-vue/tree/main/packages/stackblitz-template?file=src%2Fcomponents%2FHome.vue&title=NativeScript%20Starter%20Vue3).

Or, set up locally:

```sh
ns create myAwesomeApp --template @nativescript-vue/template-blank@latest

cd myAwesomeApp
ns run ios|android
```

## Upgrading to v3

Please refer to our [Upgrade Guide](https://nativescript-vue.org/docs/essentials/upgrade-guide).

## Using Vue Devtools

Install the standalone devtools in your app (it is not pulled in by
nativescript-vue because it depends on Electron):

```sh
npm i -D @vue/devtools@^8
```

Then run with the `vueDevtools` flag. The devtools window opens on the host
machine and the app connects to it:

```sh
ns run ios|android --env.vueDevtools
```

A free port from 8098 up is picked automatically; pass `--env.vueDevtoolsPort=9000`
to pin one, or `--env.vueDevtoolsHost=http://192.168.1.10` to reach the
devtools from a physical device. `--env.vueDevtoolsSpawn=false` skips
launching the devtools app, for when one is already running, and
`--env.vueDevtoolsDebug` logs the socket traffic between app and devtools.

🛠️ **Android Users:**
To allow Vue Devtools to connect, enable **cleartext HTTP traffic** in your `AndroidManifest.xml`:

```diff
<application ...
+  android:usesCleartextTraffic="true"
.../>
```

## TypeScript

Types for every core element, `$navigateTo`, `$showModal` and friends ship
with the package. Third-party libraries such as Pinia or vue-i18n augment the
`vue` module, and code often imports from `vue`. The templates map `vue` to
`nativescript-vue` in `tsconfig.json` so both resolve; add this to existing
projects:

```json
{
  "compilerOptions": {
    "paths": {
      "vue": ["./node_modules/nativescript-vue"]
    }
  },
  "vueCompilerOptions": {
    "lib": "nativescript-vue"
  }
}
```

## Issues

If you encounter any issues, please open a new issue with as much detail as possible.

- [Join Discord](https://nativescript.org/discord)

## Looking for V2?

The V2 version has been moved to the [v2 branch](https://github.com/nativescript-vue/nativescript-vue/tree/v2)

---
_Source: https://npm.io/package/nativescript-vue · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
