MCPcopy Index your code
hub / github.com/nativescript-vue/nativescript-vue

github.com/nativescript-vue/nativescript-vue @3.0.2 sqlite

repository ↗ · DeepWiki ↗ · release 3.0.2 ↗
153 symbols 294 edges 41 files 2 documented · 1%
README

NativeScript-Vue3

<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/master/LICENSE">
   <img src="https://img.shields.io/github/license/nativescript-vue/nativescript-vue.svg" alt="license"/>
</a>

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.

Or, set up locally:

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

cd myAwesomeApp
ns run ios|android

Upgrading to v3

Please refer to our Upgrade Guide.

Using Vue Devtools

To enable Vue Devtools, run:

ns run ios|android --env.vueDevtools

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

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

Issues

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

Looking for V2?

The V2 version has been moved to the v2 branch

Extension points exported contracts — how you extend this code

App (Interface)
(no doc)
src/index.ts
GlobalComponents (Interface)
(no doc)
src/types.ts
NSVViewMeta (Interface)
(no doc)
src/registry/index.ts
VShowElement (Interface)
(no doc)
src/directives/vShow.ts
ListItem (Interface)
(no doc)
src/components/ListView.ts
Invoker (Interface)
(no doc)
src/renderer/modules/events.ts
ComponentCustomProperties (Interface)
(no doc)
src/plugins/modals.ts
NSVElementDescriptor (Interface)
(no doc)
src/registry/index.ts

Core symbols most depended-on inside this repo

registerElement
called by 38
src/registry/index.ts
setAttribute
called by 7
src/dom/index.ts
mount
called by 6
src/index.ts
normalizeElementName
called by 5
src/registry/index.ts
setDisplay
called by 5
src/directives/vShow.ts
wrapCreate
called by 4
src/index.ts
start
called by 3
src/index.ts
createNativeView
called by 3
src/runtimeHelpers.ts

Shape

Function 107
Method 25
Interface 10
Class 9
Enum 2

Languages

TypeScript100%

Modules by API surface

src/dom/index.ts42 symbols
src/renderer/nodeOps.ts12 symbols
src/runtimeHelpers.ts10 symbols
src/components/ListView.ts10 symbols
src/plugins/modals.ts9 symbols
src/registry/index.ts8 symbols
src/renderer/modules/events.ts7 symbols
src/plugins/navigation.ts7 symbols
src/index.ts7 symbols
src/directives/vShow.ts6 symbols
src/renderer/modules/style.ts5 symbols
demo/src/composables/goHome.ts5 symbols

Dependencies from manifests, versioned

@commitlint/cli20.1.0 · 1×
@commitlint/config-conventional20.0.0 · 1×
@nativescript/android8.9.2 · 1×
@nativescript/core8.9.2 · 1×
@nativescript/ios8.9.4 · 1×
@nativescript/preview-cli1.0.14 · 1×
@nativescript/stackblitz0.0.8 · 1×
@nativescript/tailwind4.0.3 · 1×
@nativescript/types8.9.1 · 1×
@nativescript/webpack5.0.24 · 1×
@types/node22.14.0 · 1×
@vue/compiler-sfc3.5.16 · 1×

For agents

$ claude mcp add nativescript-vue \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact