Skip to content

Commit ae85310

Browse files
authored
Update 1-quick-start.md
1 parent 86f236f commit ae85310

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

content/docs/en/getting-started/1-quick-start.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,12 @@ But if [you already have your system ready for native development](/en/docs/gett
1717
> **Note**: If you choose to install DevTools, you won't be able to use `tns preview`, as the Preview app doesn't support one of the plugins DevTools uses.
1818
1919
```shell
20-
$ npm install -g @vue/cli @vue/cli-init
21-
$ vue init nativescript-vue/vue-cli-template <project-name>
20+
$ ns create <project-name> --vue # add --ts if you'd like to scaffold a project with TypeScript
2221
$ cd <project-name>
2322
$
2423
$ npm install
2524
$ # or
2625
$ yarn install
2726
$
28-
$ tns preview
29-
$ # or
30-
$ tns run
27+
$ ns run
3128
```
32-
33-
This set of commands performs the following operations on your system:
34-
35-
1. Installs the latest Vue CLI and support for Vue CLI 2.x templates through the `@vue/cli-init` add-on.
36-
2. Creates a project using the [vue-cli-template](https://github.com/nativescript-vue/vue-cli-template).
37-
3. Switches to the directory containing the newly created project.
38-
4. Installs any npm dependencies locally.
39-
5. If executing `tns preview`, produces a QR code which can be used to preview the app on a device.
40-
6. If executing `tns run`, builds and runs the project on all connected devices or in native emulators.

0 commit comments

Comments
 (0)