From 857345dc474caf0cfc34e025ba67944102a0a4ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Wed, 12 Mar 2025 21:39:37 +0100 Subject: [PATCH 1/4] chore: v3 prep --- README.md | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 5334cc3d..71627664 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,47 @@

- - Yes, the image needs to be updated :) +

-

NativeScript-Vue3 RC

+

NativeScript-Vue3

- npm + npm - license + license

-NativeScript-Vue with Vue3 support now in RC! +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 +## 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) +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%20Beta). -...or locally: +Or, set up locally: -```bash -ns create myAwesomeApp --template @nativescript-vue/template-blank@rc +```sh +ns create myAwesomeApp --template @nativescript-vue/template-blank@latest cd myAwesomeApp ns run ios|android ``` -## Vue Devtools +## Upgrading to v3 -To use VueDevtools, run: +Please refer to our [Upgrade Guide](http://nativescript-vue.org/docs/getting-started/upgrade-guide). -```bash +## Using Vue Devtools + +To enable Vue Devtools, run: + +```sh ns run ios|android --env.vueDevtools ``` -This will launch the standalone VueDevtools, and connect to it once the app launches. Right now, devtools are only supported on iOS Simulators and Android Emulators, but physical device support should come soon (requires configuring a host/port that the device can connect to.). - -On android, you must enable cleartext http traffic, otherwise any connections are silently dropped by the system. In the `App_Resources/Android/src/main/AndroidManifext.xml` add the following to your existing `` tag: +🛠️ **Android Users:** +To allow Vue Devtools to connect, enable **cleartext HTTP traffic** in your `AndroidManifest.xml`: ```diff Date: Wed, 12 Mar 2025 21:41:26 +0100 Subject: [PATCH 2/4] release: 3.0.0 --- package.json | 2 +- packages/stackblitz-template/package.json | 2 +- packages/template-blank/package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 143898c5..d7c56841 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-vue", - "version": "3.0.0-rc.3", + "version": "3.0.0", "main": "dist/index.js", "files": [ "dist/", diff --git a/packages/stackblitz-template/package.json b/packages/stackblitz-template/package.json index 8a7aa106..40f058aa 100644 --- a/packages/stackblitz-template/package.json +++ b/packages/stackblitz-template/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "dependencies": { "@nativescript/core": "~8.8.6", - "nativescript-vue": "3.0.0-rc.3" + "nativescript-vue": "3.0.0" }, "devDependencies": { "@nativescript/preview-cli": "1.0.14", diff --git a/packages/template-blank/package.json b/packages/template-blank/package.json index dcc94be2..443f836b 100644 --- a/packages/template-blank/package.json +++ b/packages/template-blank/package.json @@ -1,10 +1,10 @@ { "name": "@nativescript-vue/template-blank", "main": "src/app.ts", - "version": "3.0.0-rc.3", + "version": "3.0.0", "dependencies": { "@nativescript/core": "~8.8.6", - "nativescript-vue": "3.0.0-rc.3" + "nativescript-vue": "3.0.0" }, "devDependencies": { "@nativescript/tailwind": "~2.1.0", From 47102bfbcee9ae22d6e6e5af65cc2b58ee2312b7 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Tue, 25 Mar 2025 09:12:15 -0700 Subject: [PATCH 3/4] fix: stackblitz title (#1095) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71627664..47c71f2a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ NativeScript-Vue now supports Vue 3 and is generally available! This version bri ## 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%20Beta). +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: From baeee74c1bb66c5ff0404b0f990770e992f35325 Mon Sep 17 00:00:00 2001 From: sadobass Date: Fri, 4 Apr 2025 15:53:40 +0900 Subject: [PATCH 4/4] fix: Upgrade Guide link (#1096) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47c71f2a..f18cc6e0 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ ns run ios|android ## Upgrading to v3 -Please refer to our [Upgrade Guide](http://nativescript-vue.org/docs/getting-started/upgrade-guide). +Please refer to our [Upgrade Guide](https://nativescript-vue.org/docs/essentials/upgrade-guide). ## Using Vue Devtools