You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found having the Vue CLI instructions on the quick start page very confusing as you cannot start without first going through the installation page instructions so makes sense to move Vue CLI and project instructions to this document AFTER the initial install instructions.
Also no need to go through Node and NativeScript install steps as they are included already in the install steps for each of the systems.
To use NativeScript-Vue, you need to set up your system to compile your apps.
7
7
8
-
## Prerequisites
8
+
## Choose your System
9
9
10
-
-[Node.js](#nodejs)
11
-
-[NativeScript CLI](#nativescript-cli)
12
10
-[Windows](#windows) (for developing Android applications on Windows)
13
11
-[macOS](#macos) (for developing iOS and Android applications on macOS)
14
12
-[Linux](#linux) (for developing Android applications on Linux)
15
13
16
-
### Node.js
17
-
18
-
Download and install the latest _LTS_ version of Node.js from [https://nodejs.org/](https://nodejs.org/). Restart your terminal and verify the installation was successful by running `node --version`.
19
-
20
-
### NativeScript CLI
21
-
22
-
To install the NativeScript CLI, open your terminal and run:
23
-
24
-
```shell
25
-
$ npm install -g nativescript
26
-
```
27
-
28
-
Verify the installation was successful by running `tns` in your terminal. You should see a list of the available commands.
29
-
30
14
### Windows
31
15
32
16
Check the system requirements and follow the setup instructions for the Android SDK on Windows:
@@ -43,4 +27,46 @@ Check the system requirements and follow the setup instructions for Xcode and th
43
27
44
28
Check the system requirements and follow the setup instructions for the Android SDK on Linux:
$ # You may also try the new HMR mode by replacing --bundle
55
+
$ # with --hmr, but note that this is a beta feature.
56
+
```
57
+
58
+
This set of commands performs the following operations on your system:
59
+
60
+
1. Installs the latest Vue CLI and support for Vue CLI 2.x templates through the `@vue/cli-init` add-on.
61
+
2. Creates a project using the [vue-cli-template](https://github.com/nativescript-vue/vue-cli-template).
62
+
3. Switches to the directory containing the newly created project.
63
+
4. Installs any npm dependencies locally.
64
+
5. Builds and runs the project on any connected devices or installed emulators for the selected platform. The `--bundle` option triggers a webpack build, which compiles `.vue` files and watches for changes.
0 commit comments