Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 64e2c99

Browse files
committed
chore: update readme
1 parent 50e8a84 commit 64e2c99

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
> **Note:** This is a new version of the template, if you are looking for the old template, it is available on the [legacy branch](https://github.com/nativescript-vue/vue-cli-template/tree/legacy).
1+
> **Note:** This is a new version of the template for NativeScript 7, if you are looking for the old template, it is available on the [ns6 branch](https://github.com/nativescript-vue/vue-cli-template/tree/ns6).
22
33
# vue-cli-template
44

@@ -18,19 +18,19 @@ cd <project-name>
1818
npm install
1919

2020
# Build
21-
tns build <platform>
21+
ns build <platform>
2222

2323
# Preview the application on a device
24-
tns preview
24+
ns preview
2525

2626
# Build, watch for changes and run the application
27-
tns run
27+
ns run
2828

2929
# Clean the NativeScript application instance
30-
tns platform remove <platform>
30+
ns platform remove <platform>
3131

3232
# Hot Module Replacement (HMR) disabled Debugging session
33-
tns debug <platform> --no-hmr
33+
ns debug <platform> --no-hmr
3434
```
3535
<details><summary>Yarn usage</summary>
3636
<p>
@@ -58,27 +58,25 @@ During usual run, project runs with following settings -
5858

5959
```bash
6060
# Build, watch for changes and debug the application
61-
tns debug <platform>
61+
ns debug <platform>
6262
```
6363

6464
To minify code, and prevent Vue logs -
6565

6666
```bash
6767
# Build for production
68-
tns build <platform> --env.production
68+
ns build <platform> --env.production
6969

7070
# Run as production
71-
tns run <platform> --env.production
71+
ns run <platform> --env.production
7272
```
7373

7474
## Using NativeScript plugins
7575

7676
Installing plugins is the same as official NativeScript [documentation](https://docs.nativescript.org/plugins/plugins#installing-plugins).
7777

78-
Use `tns plugin add` from the root of the project directory.
78+
Use `ns plugin add` from the root of the project directory.
7979

8080
```shell
81-
tns plugin add <plugin-name>
81+
ns plugin add <plugin-name>
8282
```
83-
84-
Please note that some plugins still have issues resolving with this template, visit the community [Slack](https://developer.telerik.com/wp-login.php?action=slack-invitation) for getting them to work and for general help.

0 commit comments

Comments
 (0)