From de721321f18be96480cd2019009237f7659bbd3f Mon Sep 17 00:00:00 2001 From: Dwane Date: Wed, 13 Dec 2023 10:24:46 -0500 Subject: [PATCH 1/2] adds StackBlitz and updates tutorial link --- README.md | 2 +- messaging-js/README.md | 8 ++++++++ messaging-js/package.json | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 messaging-js/README.md diff --git a/README.md b/README.md index 6addfd2..9534e7e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Vonage Client SDK Tutorials -Source code for various [Vonage Client SDK tutorials](https://developer.vonage.com/client-sdk/tutorials/). +Source code for various [Vonage Client SDK tutorials](https://developer.vonage.com/en/vonage-client-sdk/overview). diff --git a/messaging-js/README.md b/messaging-js/README.md new file mode 100644 index 0000000..0dd74b7 --- /dev/null +++ b/messaging-js/README.md @@ -0,0 +1,8 @@ +In-App Messaging tutorial application code using Vonage JS Client SDK + +## Demo + +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/Vonage-Community/tutorials-client_sdk-ios-android-js/tree/main/messaging-js) + +> Note: There is a devDependency `sirv-cli` in the project that is only necessary to run the demo on StackBlitz. + diff --git a/messaging-js/package.json b/messaging-js/package.json index 0a219b8..b4c3aee 100644 --- a/messaging-js/package.json +++ b/messaging-js/package.json @@ -9,6 +9,10 @@ "author": "", "license": "ISC", "dependencies": { + "start": "sirv --dev", "@vonage/client-sdk": "^1.3.0" + }, + "devDependencies": { + "sirv-cli": "^2.0.2" } } From 376a6ba6e0a05c2535fb6e9da4cdd30a0320477b Mon Sep 17 00:00:00 2001 From: Dwane Date: Wed, 13 Dec 2023 10:27:17 -0500 Subject: [PATCH 2/2] fixes typo --- messaging-js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messaging-js/package.json b/messaging-js/package.json index b4c3aee..a520030 100644 --- a/messaging-js/package.json +++ b/messaging-js/package.json @@ -4,12 +4,12 @@ "description": "Tutorial Chat application using Vonage Client SDK", "main": "chat.js", "scripts": { + "start": "sirv --dev", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { - "start": "sirv --dev", "@vonage/client-sdk": "^1.3.0" }, "devDependencies": {