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
<!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️--><!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
1
+
<!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
2
+
[](#demos-and-development)
3
+
4
+
## Demos and Development
5
+
6
+
7
+
### Repo Setup
8
+
9
+
The package manager used to install and link dependencies must be `pnpm` or `yarn`. `npm` wont work.
10
+
11
+
To develop and test:
12
+
if you use `yarn` then run `yarn`
13
+
if you use `pnpm` then run `pnpm i`
14
+
15
+
**Interactive Menu:**
16
+
17
+
To start the interactive menu, run `npm start` (or `yarn start` or `pnpm start`). This will list all of the commonly used scripts.
18
+
19
+
### Build
20
+
21
+
```bash
22
+
npm run build.all
23
+
```
24
+
25
+
### Demos
26
+
27
+
```bash
28
+
npm run demo.[ng|react|svelte|vue].[ios|android]
29
+
30
+
npm run demo.svelte.ios # Example
31
+
```
32
+
33
+
34
+
[](#contributing)
35
+
36
+
## Contributing
37
+
38
+
### Update repo
39
+
40
+
You can update the repo files quite easily
41
+
42
+
First update the submodules
43
+
44
+
```bash
45
+
npm run update
46
+
```
47
+
48
+
Then commit the changes
49
+
Then update common files
50
+
51
+
```bash
52
+
npm run sync
53
+
```
54
+
Then you can run `yarn|pnpm`, commit changed files if any
55
+
56
+
### Publish
57
+
58
+
The publishing is completely handled by `lerna` (you can add `-- --bump major` to force a major release)
59
+
Simply run
60
+
```shell
61
+
npm run publish
62
+
```
63
+
<br><br><!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
Run the following command from the root of your project:
73
134
74
135
`ns plugin add @nativescript-community/ui-pager`
75
136
76
-
77
-
[](#api)
78
-
79
-
80
-
[](#api)
81
-
137
+
138
+
[](#api)
139
+
140
+
141
+
[](#api)
142
+
82
143
## API
83
144
84
145
### Properties
@@ -108,47 +169,13 @@ Run the following command from the root of your project:
108
169
Pager for NativeScript supports the core ObservableArray module part of the core NativeScript modules collection. Using an ObservableArray instance as a source for Pager will ensure that changes in the source collection will be automatically taken care of by the control.
@@ -281,12 +308,12 @@ npm run demo.[ng|react|svelte|vue].[ios|android]
281
308
282
309
npm run demo.svelte.ios # Example
283
310
```
284
-
285
-
[](#questions)
286
-
287
-
288
-
[](#questions)
289
-
311
+
312
+
[](#questions)
313
+
314
+
315
+
[](#questions)
316
+
290
317
## Questions
291
318
292
319
If you have any questions/issues/comments please feel free to create an issue or start a conversation in the [NativeScript Community Discord](https://nativescript.org/discord).
0 commit comments