From 966148c23e18edc256c26d8487c57f3a617f3008 Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 16:40:53 -0400 Subject: [PATCH 1/8] updated for vue-cli-template v0.2.0 --- .../docs/en/getting-started/1-quick-start.md | 31 +++++++++++++------ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index 41122d86..24d6ba86 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -9,19 +9,32 @@ it in the [NativeScript Playground](https://play.nativescript.org?template=play- If you are ready to move on and work locally on your machine, and [you have your system ready for native development](/en/docs/getting-started/installation), you can start by using a template: -```shell -$ tns create my-app --template nativescript-vue-template -$ cd my-app +### Scaffold project +```sh +$ npm install -g vue-cli +$ vue init nativescript-vue/vue-cli-template +$ cd ``` -and then run your app using: - -```shell -$ tns run android # for android +### Install dependencies +```sh +$ npm install +``` +## Run you app using either of the following +### Build, watch for changes and debug the application +Plarform below would be `ios` or `android` +```sh +$ npm run debug: ``` -```shell -$ tns run ios # for ios +## Or + +### Build, watch for changes and run the application +```sh +$ npm run watch: ``` + +**Please Note: When invoking the build scripts, omitting the platform will attempt to launch \`tns\` for both platforms, which will only work in a properly configured OSX environment. Because you can only develop for ios on Mac OSX**. + To learn more about the available templates head over to the [templates documentation](/en/docs/getting-started/templates). From f7ef4e0c0671fc6fa8f99d4107a645597a485719 Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 16:43:23 -0400 Subject: [PATCH 2/8] fixing spelling error on Platorm --- content/docs/en/getting-started/1-quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index 24d6ba86..c833d385 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -22,7 +22,7 @@ $ npm install ``` ## Run you app using either of the following ### Build, watch for changes and debug the application -Plarform below would be `ios` or `android` +Platform below would be `ios` or `android` ```sh $ npm run debug: ``` From c8b2e30ea2a67493be9921d19d929f29719ed7a4 Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 17:11:19 -0400 Subject: [PATCH 3/8] Adjusting to support v0.1.0 instead --- content/docs/en/getting-started/1-quick-start.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index c833d385..2fb976ee 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -20,21 +20,11 @@ $ cd ```sh $ npm install ``` -## Run you app using either of the following -### Build, watch for changes and debug the application -Platform below would be `ios` or `android` -```sh -$ npm run debug: -``` - -## Or ### Build, watch for changes and run the application +Platform below would be `ios` or `android` ```sh $ npm run watch: ``` - -**Please Note: When invoking the build scripts, omitting the platform will attempt to launch \`tns\` for both platforms, which will only work in a properly configured OSX environment. Because you can only develop for ios on Mac OSX**. - To learn more about the available templates head over to the [templates documentation](/en/docs/getting-started/templates). From bb530a4ed5707363758c3064b5f116daba70a931 Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 17:51:15 -0400 Subject: [PATCH 4/8] Adding damain to contributors --- content/docs/en/getting-started/1-quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index 2fb976ee..dd8363f6 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -1,6 +1,6 @@ --- title: Quick Start -contributors: [rigor789, eddyverbruggen] +contributors: [rigor789, eddyverbruggen, damain] --- If you want to easily try NativeScript-Vue, we strongly recommend trying From 07abb138a4403d175fe40e022cf15275f1e6b926 Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 18:14:17 -0400 Subject: [PATCH 5/8] making changes to shell, adding link and removing headings --- content/docs/en/getting-started/1-quick-start.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index dd8363f6..19760ad8 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -9,22 +9,18 @@ it in the [NativeScript Playground](https://play.nativescript.org?template=play- If you are ready to move on and work locally on your machine, and [you have your system ready for native development](/en/docs/getting-started/installation), you can start by using a template: -### Scaffold project -```sh +```shell $ npm install -g vue-cli $ vue init nativescript-vue/vue-cli-template $ cd -``` - -### Install dependencies -```sh $ npm install ``` -### Build, watch for changes and run the application -Platform below would be `ios` or `android` -```sh +Now lets run it +```shell $ npm run watch: ``` +*platform below would be `ios` or `android` +For more details you can check the [project](https://github.com/nativescript-vue/vue-cli-template) on github To learn more about the available templates head over to the [templates documentation](/en/docs/getting-started/templates). From bcee9b01189ee75570b1e04b17facfe4336ad059 Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 18:52:25 -0400 Subject: [PATCH 6/8] updated install line --- content/docs/en/getting-started/1-quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index 19760ad8..0f5ab557 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -10,7 +10,7 @@ If you are ready to move on and work locally on your machine, and [you have your system ready for native development](/en/docs/getting-started/installation), you can start by using a template: ```shell -$ npm install -g vue-cli +$ $ npm install -g @vue/cli @vue/cli-init $ vue init nativescript-vue/vue-cli-template $ cd $ npm install From 5acda5170f223776c8998fdbe749cf39f22ea01d Mon Sep 17 00:00:00 2001 From: Damain Joseph Date: Thu, 1 Mar 2018 18:54:41 -0400 Subject: [PATCH 7/8] updated platform statement --- content/docs/en/getting-started/1-quick-start.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index 0f5ab557..7d16a00a 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -20,7 +20,8 @@ Now lets run it ```shell $ npm run watch: ``` -*platform below would be `ios` or `android` +*platform above would be `ios` or `android`. + For more details you can check the [project](https://github.com/nativescript-vue/vue-cli-template) on github To learn more about the available templates head over to the [templates documentation](/en/docs/getting-started/templates). From 2d8f4b2ee42c230e59fbb46009997b66721c7eed Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 2 Mar 2018 00:33:19 +0100 Subject: [PATCH 8/8] Update 1-quick-start.md --- content/docs/en/getting-started/1-quick-start.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/en/getting-started/1-quick-start.md b/content/docs/en/getting-started/1-quick-start.md index 7d16a00a..1fe39a9c 100644 --- a/content/docs/en/getting-started/1-quick-start.md +++ b/content/docs/en/getting-started/1-quick-start.md @@ -16,12 +16,12 @@ $ cd $ npm install ``` -Now lets run it +and then run your app using ```shell $ npm run watch: ``` -*platform above would be `ios` or `android`. +> where platform is `ios` or `android`. -For more details you can check the [project](https://github.com/nativescript-vue/vue-cli-template) on github +For more details check out [nativescript-vue/vue-cli-template on GitHub](https://github.com/nativescript-vue/vue-cli-template). To learn more about the available templates head over to the [templates documentation](/en/docs/getting-started/templates).